summaryrefslogtreecommitdiff
path: root/doc/install/database_mysql.md
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2014-09-11 01:43:00 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2014-09-11 01:43:00 -0700
commit7a6857adfba9a6c0db3b64c7bb5968d88a17c8b0 (patch)
tree60a08c98ea3460bda1e515ba65d5b1d513537e20 /doc/install/database_mysql.md
parent78ec7d9c9d156fe556d165c1c096bf5534d62d25 (diff)
downloadgitlab-ce-7a6857adfba9a6c0db3b64c7bb5968d88a17c8b0.tar.gz
update grant command to match how mysql shows
When looking up the granted permissions for users in MySQL using `show grants for 'git'@'localhost';` it shows the permissions in this order regardless of how you enter them. Changing so that comparing your actual permissions vs. what installation guide says is easier.
Diffstat (limited to 'doc/install/database_mysql.md')
-rw-r--r--doc/install/database_mysql.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md
index ae68fd007ab..5e9bfff5653 100644
--- a/doc/install/database_mysql.md
+++ b/doc/install/database_mysql.md
@@ -36,7 +36,7 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
# Grant the GitLab user necessary permissions on the table.
- mysql> GRANT SELECT, LOCK TABLES, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'git'@'localhost';
+ mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES ON `gitlabhq_production`.* TO 'git'@'localhost';
# Quit the database session
mysql> \q