Skip to content

Commit 7038d6e

Browse files
committed
fix connection tests failing on centos6 as performance_schema db does not exist
1 parent 88409e2 commit 7038d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ script:
5858
# Check to make sure we can connect to MySQL via Unix socket.
5959
- >
6060
sudo docker exec "$(cat ${container_id})" mysql -u root -proot -e 'show databases;'
61-
| grep -q 'performance_schema'
61+
| grep -q 'information_schema'
6262
&& (echo 'MySQL running normally' && exit 0)
6363
|| (echo 'MySQL not running' && exit 1)
6464
6565
# Check to make sure we can connect to MySQL via TCP.
6666
- >
6767
sudo docker exec "$(cat ${container_id})" mysql -u root -proot -h 127.0.0.1 -e 'show databases;'
68-
| grep -q 'performance_schema'
68+
| grep -q 'information_schema'
6969
&& (echo 'MySQL running normally' && exit 0)
7070
|| (echo 'MySQL not running' && exit 1)
7171

0 commit comments

Comments
 (0)