Browse files

Include command to create mysql user

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 21d87f77f87928439c301d3550da4de0239177f8
Showing with 3 additions and 0 deletions.
  1. +3 −0 guides/source/
@@ -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:
+$ 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.*

0 comments on commit 21d87f7

Please sign in to comment.