Connect to database with git user, not gitlab

This commit is contained in:
Axilleas Pipinellis 2013-02-15 11:52:10 +02:00
parent f9dd547aa7
commit 6178964929

View file

@ -27,7 +27,7 @@ GitLab supports the following databases:
mysql> \q mysql> \q
# Try connecting to the new database with the new user # 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 ## PostgreSQL
@ -47,5 +47,5 @@ GitLab supports the following databases:
template1=# \q template1=# \q
# Try connecting to the new database with the new user # 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