Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
6c9cb565
Commit
6c9cb565
authored
Sep 11, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7733 from bbodenmiller/patch-12
update grant command to match how mysql shows
parents
80174c16
7a6857ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/install/database_mysql.md
doc/install/database_mysql.md
+1
-1
No files found.
doc/install/database_mysql.md
View file @
6c9cb565
...
@@ -36,7 +36,7 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
...
@@ -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`;
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.
# 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
# Quit the database session
mysql> \q
mysql> \q
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment