summaryrefslogtreecommitdiff
path: root/doc/install/database_mysql.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-09-11 18:34:41 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-09-11 18:34:41 +0200
commit6c9cb565f16a006df7c980eadcd7061edb7b9281 (patch)
treefb50b24927b36b21b24e611cb3521c3a9b4ef532 /doc/install/database_mysql.md
parent80174c16d6e28f751e6afc59f9ba28f8c6b792fc (diff)
parent7a6857adfba9a6c0db3b64c7bb5968d88a17c8b0 (diff)
downloadgitlab-ce-6c9cb565f16a006df7c980eadcd7061edb7b9281.tar.gz
Merge pull request #7733 from bbodenmiller/patch-12
update grant command to match how mysql shows
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