Commit 6178964929047c71ec4b49e545c59ce3a4caaf81
1 parent
f9dd547a
Exists in
master
and in
4 other branches
Connect to database with git user, not gitlab
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
doc/install/databases.md
| @@ -27,7 +27,7 @@ GitLab supports the following databases: | @@ -27,7 +27,7 @@ GitLab supports the following databases: | ||
| 27 | mysql> \q | 27 | mysql> \q |
| 28 | 28 | ||
| 29 | # Try connecting to the new database with the new user | 29 | # Try connecting to the new database with the new user |
| 30 | - sudo -u gitlab -H mysql -u gitlab -p -D gitlabhq_production | 30 | + sudo -u git -H mysql -u gitlab -p -D gitlabhq_production |
| 31 | 31 | ||
| 32 | ## PostgreSQL | 32 | ## PostgreSQL |
| 33 | 33 | ||
| @@ -47,5 +47,5 @@ GitLab supports the following databases: | @@ -47,5 +47,5 @@ GitLab supports the following databases: | ||
| 47 | template1=# \q | 47 | template1=# \q |
| 48 | 48 | ||
| 49 | # Try connecting to the new database with the new user | 49 | # Try connecting to the new database with the new user |
| 50 | - sudo -u gitlab -H psql -d gitlabhq_production | 50 | + sudo -u git -H psql -d gitlabhq_production |
| 51 | 51 |