Connect to database with git user, not gitlab
This commit is contained in:
parent
f9dd547aa7
commit
6178964929
|
@ -27,7 +27,7 @@ GitLab supports the following databases:
|
|||
mysql> \q
|
||||
|
||||
# Try connecting to the new database with the new user
|
||||
sudo -u gitlab -H mysql -u gitlab -p -D gitlabhq_production
|
||||
sudo -u git -H mysql -u gitlab -p -D gitlabhq_production
|
||||
|
||||
## PostgreSQL
|
||||
|
||||
|
@ -47,5 +47,5 @@ GitLab supports the following databases:
|
|||
template1=# \q
|
||||
|
||||
# Try connecting to the new database with the new user
|
||||
sudo -u gitlab -H psql -d gitlabhq_production
|
||||
sudo -u git -H psql -d gitlabhq_production
|
||||
|
||||
|
|
Loading…
Reference in a new issue