Commit 5f159d4bc09d4577bcfac02e71bdaf58d7007477

Authored by Dmitriy Zaporozhets
2 parents 38ea3939 4cc27fd9

Merge pull request #3335 from zzet/patch-4

Update databases.md
config/database.yml.postgresql
@@ -6,7 +6,7 @@ production: @@ -6,7 +6,7 @@ production:
6 encoding: unicode 6 encoding: unicode
7 database: gitlabhq_production 7 database: gitlabhq_production
8 pool: 5 8 pool: 5
9 - username: gitlab 9 + username: git
10 password: 10 password:
11 # host: localhost 11 # host: localhost
12 # port: 5432 12 # port: 5432
doc/install/databases.md
@@ -38,10 +38,10 @@ GitLab supports the following databases: @@ -38,10 +38,10 @@ GitLab supports the following databases:
38 sudo -u postgres psql -d template1 38 sudo -u postgres psql -d template1
39 39
40 # Create a user for GitLab. (change $password to a real password) 40 # Create a user for GitLab. (change $password to a real password)
41 - template1=# CREATE USER gitlab WITH PASSWORD '$password'; 41 + template1=# CREATE USER git WITH PASSWORD '$password';
42 42
43 # Create the GitLab production database & grant all privileges on database 43 # Create the GitLab production database & grant all privileges on database
44 - template1=# CREATE DATABASE gitlabhq_production OWNER gitlab; 44 + template1=# CREATE DATABASE gitlabhq_production OWNER git;
45 45
46 # Quit the database session 46 # Quit the database session
47 template1=# \q 47 template1=# \q