Skip to content

Commit 2d6b406

Browse files
committed
Merge pull request rails#8469 from kytrinyx/explicit-mysql-instructions
Include command to create mysql user [ci skip]
2 parents 6c58fca + 21d87f7 commit 2d6b406

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

guides/source/development_dependencies_install.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ We need first to delete `.bundle/config` because Bundler remembers in that file
145145
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:
146146

147147
```bash
148+
$ mysql -uroot -p
149+
150+
mysql> CREATE USER 'rails'@'localhost';
148151
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest.*
149152
to 'rails'@'localhost';
150153
mysql> GRANT ALL PRIVILEGES ON activerecord_unittest2.*

0 commit comments

Comments
 (0)