1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

add mysql authentification command to chapter 2.Running the Test Suite

This commit is contained in:
Vladimir Strakhov 2012-07-30 11:06:02 +04:00
parent ea881ef996
commit 81bf120c34

View file

@ -184,6 +184,10 @@ 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: 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:
<shell>
mysql -u root mysql -p
</shell>
<shell> <shell>
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest.* mysql> GRANT ALL PRIVILEGES ON activerecord_unittest.*
to 'rails'@'localhost'; to 'rails'@'localhost';