We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 494ccd6 + d4ea836 commit 43491aaCopy full SHA for 43491aa
internal/services/mysql/root_connection.go
@@ -52,8 +52,8 @@ func (m *rootConnection) CreateMysqlDatabase() services.MysqlDatabaseBase {
52
if err != nil {
53
panic(err)
54
}
55
- // SESSION_VARIABLES_ADMIN is only needed and supported on MySQL 8+, that magic comments only executes it there.
56
- _, err = m.db.Exec(fmt.Sprintf("/*!80000 GRANT SESSION_VARIABLES_ADMIN ON *.* TO %s */", username))
+ // SESSION_VARIABLES_ADMIN is only needed and supported on MySQL 8.0.14+, that magic comments only executes it there.
+ _, err = m.db.Exec(fmt.Sprintf("/*!80014 GRANT SESSION_VARIABLES_ADMIN ON *.* TO %s */", username))
57
58
59
0 commit comments