From 21d87f77f87928439c301d3550da4de0239177f8 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 9 Dec 2012 17:24:33 +0100 Subject: 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. --- guides/source/development_dependencies_install.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guides/source/development_dependencies_install.md') 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.* -- cgit v1.2.3