Skip to content
Snippets Groups Projects
Commit 01cd93b4 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Merge branch 'mysql-doc-improvement' into 'master'

improves mysql installation doc

The information presented in the doc was not correct this MR aims to fix that

See merge request !198
parents dbaecc23 b4997088
No related branches found
No related tags found
1 merge request!198improves mysql installation doc
Loading
Loading
@@ -22,10 +22,12 @@ Both command will print the post install messages on how to start the server. If
 
If you ran `bundle install` before, or you've fully installed the GitLab Development Kit, the mysql gem was. To make sure the gem will be installed, remove `mysql` in `gitlab/.bundle/config` from the `BUNDLE_WITHOUT` key. Run `bundle` in the `gitlab` folder to install mysql.
 
Configuration of the database is stored in `gitlab/config/database.yml`. Run the following command to update it:
Configuration of the database is stored in `gitlab/config/database.yml`.
You can first remove your `gitlab/config/database.yml` file if it already exists by using the command `rm gitlab/config/database.yml` and then run the following to update it:
 
```
sed -e 's/^ (username|password)/ # \1/' config/database.yml.mysql > config/database.yml
sed -e '/username:/d' -e '/password:/d' gitlab/config/database.yml.mysql > gitlab/config/database.yml
```
 
Now you can run `rake dev:setup` and test your code using MySQL for data persistance.
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