Commit a84469a3 authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'mysql-migration-trigger-permissions' into 'master'

Add dbname to MySQL migration GRANT command

See merge request gitlab-org/gitlab-ce!21719
parents 708875ae 2906e09f
......@@ -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).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment