diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-09 08:33:17 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-09 08:33:17 -0800 |
commit | 2d6b406549a463a4944eb4790e9347c5b9b331e8 (patch) | |
tree | c7d10f1cf2f57f003b90e5bb4d5adc14f69140a9 | |
parent | 6c58fca8a99a86be2408d5a95d129cff9db773db (diff) | |
parent | 21d87f77f87928439c301d3550da4de0239177f8 (diff) | |
download | rails-2d6b406549a463a4944eb4790e9347c5b9b331e8.tar.gz rails-2d6b406549a463a4944eb4790e9347c5b9b331e8.tar.bz2 rails-2d6b406549a463a4944eb4790e9347c5b9b331e8.zip |
Merge pull request #8469 from kytrinyx/explicit-mysql-instructions
Include command to create mysql user
[ci skip]
-rw-r--r-- | guides/source/development_dependencies_install.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index 79d59859c8..db43d62fcf 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -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: ```bash +$ 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.* |