Streamline MySQL setup in installation.md
This commit is contained in:
parent
970d86b7c5
commit
485162ec60
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,7 @@ production:
|
||||||
reconnect: false
|
reconnect: false
|
||||||
database: gitlabhq_production
|
database: gitlabhq_production
|
||||||
pool: 10
|
pool: 10
|
||||||
username: root
|
username: gitlab
|
||||||
password: "secure password"
|
password: "secure password"
|
||||||
# host: localhost
|
# host: localhost
|
||||||
# socket: /tmp/mysql.sock
|
# socket: /tmp/mysql.sock
|
||||||
|
|
|
@ -224,7 +224,6 @@ Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup.
|
||||||
# Make sure to update username/password in config/database.yml.
|
# Make sure to update username/password in config/database.yml.
|
||||||
# You only need to adapt the production settings (first part).
|
# You only need to adapt the production settings (first part).
|
||||||
# If you followed the database guide then please do as follows:
|
# If you followed the database guide then please do as follows:
|
||||||
# Change 'root' to 'gitlab'
|
|
||||||
# Change 'secure password' with the value you have given to $password
|
# Change 'secure password' with the value you have given to $password
|
||||||
# You can keep the double quotes around the password
|
# You can keep the double quotes around the password
|
||||||
sudo -u git -H editor config/database.yml
|
sudo -u git -H editor config/database.yml
|
||||||
|
|
Loading…
Reference in a new issue