MyySQL: GRANT WITH GRANT OPTION when updating db owner.
This commit is contained in:
parent
605701bb3f
commit
89e321e3e8
@ -47,7 +47,7 @@ public class MySqlDatabaseProcessorFactory implements EntityProcessorFactory {
|
||||
String aOwner = AbstractEntity.escapeString(db.getOwner());
|
||||
JDBCProcessor aJDBCP = null;
|
||||
aJDBCP = createMySqlAdminProcessor();
|
||||
aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%'");
|
||||
aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%' WITH GRANT OPTION");
|
||||
return aJDBCP;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user