Skip to content

Commit 68d4b84

Browse files
committed
Fix syntax of mysql setup
1 parent 3a77ccd commit 68d4b84

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

RUNNING_TESTS.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,9 @@ docker run -it --link mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_33
7676
Set up the database for the unit tests:
7777

7878
```sql
79-
GRANT ALL PRIVILEGES ON *.* TO 'rails'@'localhost' IDENTIFIED BY 'XXXXXXXXX';
80-
8179
CREATE USER 'rails'@'localhost' IDENTIFIED BY 'testtest9';
82-
create database activerecord_unittest2;
83-
GRANT Create,Drop,Select,Insert,Update,Delete,Lock Tables ON activerecord_unittest2.* TO 'rails'@'172.17.0.1';
80+
CREATE DATABASE activerecord_unittest2;
81+
GRANT Create,Drop,Select,Insert,Update,Delete,Lock Tables ON activerecord_unittest2.* TO 'rails'@'localhost';
8482
```
8583

8684
### ActiveRecord (Rails) Tests

0 commit comments

Comments
 (0)