Skip to content

Commit

Permalink
Fix syntax of mysql setup
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 25, 2024
1 parent 3a77ccd commit 68d4b84
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RUNNING_TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ docker run -it --link mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_33
Set up the database for the unit tests:

```sql
GRANT ALL PRIVILEGES ON *.* TO 'rails'@'localhost' IDENTIFIED BY 'XXXXXXXXX';

CREATE USER 'rails'@'localhost' IDENTIFIED BY 'testtest9';
create database activerecord_unittest2;
GRANT Create,Drop,Select,Insert,Update,Delete,Lock Tables ON activerecord_unittest2.* TO 'rails'@'172.17.0.1';
CREATE DATABASE activerecord_unittest2;
GRANT Create,Drop,Select,Insert,Update,Delete,Lock Tables ON activerecord_unittest2.* TO 'rails'@'localhost';
```

### ActiveRecord (Rails) Tests
Expand Down

0 comments on commit 68d4b84

Please sign in to comment.