Browse files

Merge pull request #8469 from kytrinyx/explicit-mysql-instructions

Include command to create mysql user

[ci skip]
  • Loading branch information...
2 parents 6c58fca + 21d87f7 commit 2d6b406549a463a4944eb4790e9347c5b9b331e8 @rafaelfranca rafaelfranca committed Dec 9, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 guides/source/
@@ -145,6 +145,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 2d6b406

Please sign in to comment.