mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
mysql: Remove deprecated NO_AUTO_CREATE_USER
This setting does no longer exist in MySQL 8.0
This commit is contained in:
parent
29b777ecd0
commit
a8b43531c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue