Skip to content

Commit 9478363

Browse files
committed
MySQL 5.7.7 only talks to the real root
1 parent f59afea commit 9478363

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ before_install:
44
- gem --version
55
- bash .travis_setup.sh
66
- mysqld --version
7-
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS test"
8-
- mysql -u root -e "CREATE USER '$USER'@'localhost'" || true
7+
- mysql -u $USER -e "CREATE DATABASE IF NOT EXISTS test"
98
os:
109
- linux
1110
rvm:

.travis_setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ if ! [[ x$OSTYPE =~ ^xdarwin ]]; then
2323
sudo bash .travis_ssl.sh
2424
sudo service mysql restart
2525
fi
26+
27+
sudo mysql -e "CREATE USER '$USER'@'localhost'" || true

0 commit comments

Comments
 (0)