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:
parent
ea881ef996
commit
81bf120c34
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
||||
<shell>
|
||||
mysql -u root mysql -p
|
||||
</shell>
|
||||
|
||||
<shell>
|
||||
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest.*
|
||||
to 'rails'@'localhost';
|
||||
|
|
Loading…
Reference in a new issue