Add dbname to MySQL migration GRANT command

This commit is contained in:
Ryan Hefner 2018-09-13 16:27:57 +02:00
parent c4009e643d
commit 2906e09f3a

View file

@ -937,7 +937,7 @@ database (#{dbname}) using a super user and running:
For MySQL you instead need to run:
GRANT ALL PRIVILEGES ON *.* TO #{user}@'%'
GRANT ALL PRIVILEGES ON #{dbname}.* TO #{user}@'%'
Both queries will grant the user super user permissions, ensuring you don't run
into similar problems in the future (e.g. when new tables are created).