aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Strakhov <vl.strakhov@gmail.com>2012-07-30 11:06:02 +0400
committerVladimir Strakhov <vl.strakhov@gmail.com>2012-07-30 11:06:20 +0400
commit81bf120c340a2b9db13e96cad7f08bc2733a1ffe (patch)
treef1af0785cc588e148ddf654dd3cdaecdc7edb428
parentea881ef9969a2dafb71ec7a0e193acb592bf2cce (diff)
downloadrails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.tar.gz
rails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.tar.bz2
rails-81bf120c340a2b9db13e96cad7f08bc2733a1ffe.zip
add mysql authentification command to chapter 2.Running the Test Suite
-rw-r--r--guides/source/contributing_to_ruby_on_rails.textile4
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.*