diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-07-05 10:28:01 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-07-05 11:05:28 +0000 |
commit | a5a59f2fdb3d9985c384e790078223c95d3291fd (patch) | |
tree | 4d0d556c4c127268590ef454cf052031d3aac06a /doc/install/database_mysql.md | |
parent | 24f3eb9c135655bc1c5a244f0a50ccfcdcfd2cef (diff) | |
download | gitlab-ce-cherry-pick-4e287630.tar.gz |
Merge branch 'doc-mysql-priv' into 'master'
cherry-pick-4e287630
Add missing privileges to MySQL database
Closes gitlab-org/gitlab-ce#19321
See merge request !5079
Diffstat (limited to 'doc/install/database_mysql.md')
-rw-r--r-- | doc/install/database_mysql.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md index e51ff5a5de2..e8093f0b257 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 database - mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, DROP, INDEX, ALTER, LOCK TABLES ON `gitlabhq_production`.* TO 'git'@'localhost'; + mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, DROP, INDEX, ALTER, LOCK TABLES, REFERENCES ON `gitlabhq_production`.* TO 'git'@'localhost'; # Quit the database session mysql> \q |