From 7038d6ed6103e957a4c6e7c23d2a1043114702e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Thu, 4 Feb 2016 13:18:50 -0500 Subject: [PATCH] fix connection tests failing on centos6 as performance_schema db does not exist --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09fee78..2d7eed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,14 +58,14 @@ script: # Check to make sure we can connect to MySQL via Unix socket. - > sudo docker exec "$(cat ${container_id})" mysql -u root -proot -e 'show databases;' - | grep -q 'performance_schema' + | grep -q 'information_schema' && (echo 'MySQL running normally' && exit 0) || (echo 'MySQL not running' && exit 1) # Check to make sure we can connect to MySQL via TCP. - > sudo docker exec "$(cat ${container_id})" mysql -u root -proot -h 127.0.0.1 -e 'show databases;' - | grep -q 'performance_schema' + | grep -q 'information_schema' && (echo 'MySQL running normally' && exit 0) || (echo 'MySQL not running' && exit 1)