mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #8469 from kytrinyx/explicit-mysql-instructions
Include command to create mysql user [ci skip]
This commit is contained in:
commit
2d6b406549
1 changed files with 3 additions and 0 deletions
|
@ -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.*
|
||||
|
|
Loading…
Reference in a new issue