OSDN Git Service

Connect to database with git user, not gitlab
authorAxilleas Pipinellis <axilleas@archlinux.gr>
Fri, 15 Feb 2013 09:52:10 +0000 (11:52 +0200)
committerAxilleas Pipinellis <axilleas@archlinux.gr>
Fri, 15 Feb 2013 09:52:10 +0000 (11:52 +0200)
doc/install/databases.md

index 4c6c084..6188260 100644 (file)
@@ -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