diff --git a/connection/mysql_utils.go b/connection/mysql_utils.go index 7c1d72d5..8d34c264 100644 --- a/connection/mysql_utils.go +++ b/connection/mysql_utils.go @@ -30,7 +30,7 @@ func mkMysql(dbType string, dbDsn string, maxOpenConns int) (*sql.DB, error) { } dbDsn = dbDsn + sep + - "innodb_strict_mode=1&sql_mode='STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION,PIPES_AS_CONCAT,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'" + "innodb_strict_mode=1&sql_mode='STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION,PIPES_AS_CONCAT,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO'" db, errConn := sql.Open(dbType, dbDsn) if errConn != nil {