Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Include command to create mysql user #8469

Merged
merged 1 commit into from

2 participants

@kytrinyx

The guide mentions that the 'rails' user is needed, but doesn't
explicitly include the command to do so.

@kytrinyx kytrinyx 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.
21d87f7
@rafaelfranca rafaelfranca merged commit 2d6b406 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 9, 2012
  1. @kytrinyx

    Include command to create mysql user

    kytrinyx authored
    The guide mentions that the 'rails' user is needed, but doesn't
    explicitly include the command to do so.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  guides/source/development_dependencies_install.md
View
3  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.*
Something went wrong with that request. Please try again.