diff options
author | Vladimir Strakhov <vl.strakhov@gmail.com> | 2012-07-30 11:06:02 +0400 |
---|---|---|
committer | Vladimir Strakhov <vl.strakhov@gmail.com> | 2012-07-30 11:06:20 +0400 |
commit | 81bf120c340a2b9db13e96cad7f08bc2733a1ffe (patch) | |
tree | f1af0785cc588e148ddf654dd3cdaecdc7edb428 /guides | |
parent | ea881ef9969a2dafb71ec7a0e193acb592bf2cce (diff) | |
download | rails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.tar.gz rails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.tar.bz2 rails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.zip |
add mysql authentification command to chapter 2.Running the Test Suite
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.textile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.textile b/guides/source/contributing_to_ruby_on_rails.textile index a8a097d156..35ec988c5e 100644 --- a/guides/source/contributing_to_ruby_on_rails.textile +++ b/guides/source/contributing_to_ruby_on_rails.textile @@ -185,6 +185,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'; mysql> GRANT ALL PRIVILEGES ON activerecord_unittest2.* |