Skip to content
Snippets Groups Projects
Commit 5f159d4b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #3335 from zzet/patch-4

Update databases.md
parents 38ea3939 4cc27fd9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,7 +6,7 @@ production:
encoding: unicode
database: gitlabhq_production
pool: 5
username: gitlab
username: git
password:
# host: localhost
# port: 5432
Loading
Loading
Loading
Loading
@@ -38,10 +38,10 @@ GitLab supports the following databases:
sudo -u postgres psql -d template1
 
# Create a user for GitLab. (change $password to a real password)
template1=# CREATE USER gitlab WITH PASSWORD '$password';
template1=# CREATE USER git WITH PASSWORD '$password';
 
# Create the GitLab production database & grant all privileges on database
template1=# CREATE DATABASE gitlabhq_production OWNER gitlab;
template1=# CREATE DATABASE gitlabhq_production OWNER git;
 
# Quit the database session
template1=# \q
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment