Skip to content

Commit

Permalink
Include command to create mysql user
Browse files Browse the repository at this point in the history
The guide mentions that the 'rails' user is needed, but doesn't
explicitly include the command to do so.
  • Loading branch information
kytrinyx committed Dec 9, 2012
1 parent 42cfacf commit 21d87f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions guides/source/development_dependencies_install.md
Expand Up @@ -141,6 +141,9 @@ We need first to delete `.bundle/config` because Bundler remembers in that file
In order to be able to run the test suite against MySQL you need to create a user named `rails` with privileges on the test databases:

```bash
$ mysql -uroot -p

mysql> CREATE USER 'rails'@'localhost';
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest.*
to 'rails'@'localhost';
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest2.*
Expand Down

0 comments on commit 21d87f7

Please sign in to comment.