diff options
author | Katrina Owen <katrina.owen@gmail.com> | 2012-12-09 17:24:33 +0100 |
---|---|---|
committer | Katrina Owen <katrina.owen@gmail.com> | 2012-12-09 17:24:33 +0100 |
commit | 21d87f77f87928439c301d3550da4de0239177f8 (patch) | |
tree | 6a77da6b5790c639cc80000145d41b35caf91005 /guides | |
parent | 42cfacfe81b20b454f0d915beb934e62618c38a6 (diff) | |
download | rails-21d87f77f87928439c301d3550da4de0239177f8.tar.gz rails-21d87f77f87928439c301d3550da4de0239177f8.tar.bz2 rails-21d87f77f87928439c301d3550da4de0239177f8.zip |
Include command to create mysql user
The guide mentions that the 'rails' user is needed, but doesn't
explicitly include the command to do so.
Diffstat (limited to 'guides')
-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 c11832da61..f062e7d625 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -141,6 +141,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.* |