Commit 485162ec authored by Jacob Vosmaer's avatar Jacob Vosmaer

Streamline MySQL setup in installation.md

parent 970d86b7
...@@ -7,7 +7,7 @@ production: ...@@ -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. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment