You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
embeddedMysql = anEmbeddedMysql(mysqldConfig)
.addSchema(SchemaConfig.aSchemaConfig(schemaName).build())
.start();
logger.info("MySQL is started with config : {}", embeddedMysql.getConfig().toString());
database starts up successfully and scripts can be run. But the create user don't have GRANT privileges
mysqldConfig = aMysqldConfig(v5_7_19)
.withCharset(Charset.LATIN1)
.withPort(port)
.withUser(username, password)
.withTimeZone("Europe/London")
.withTimeout(2, TimeUnit.MINUTES)
.withServerVariable("max_connect_errors", 666)
.build();
database starts up successfully and scripts can be run. But the create user don't have GRANT privileges
everything runs except GRANT commands
org.flywaydb.core.internal.dbsupport.FlywaySqlScriptException:
Migration a.sql failed
SQL State : 42000
Error Code : 1142
Message : GRANT command denied to user 'dev'@'localhost' for table 'y'
The text was updated successfully, but these errors were encountered: