From acb41aa4aa45bbb62ccd15e95d16f4c94ec1b792 Mon Sep 17 00:00:00 2001 From: Rene Diepstraten Date: Dec 28 2013 20:57:26 +0000 Subject: only start mariadb service on el7, use mysqld otherwise --- diff --git a/tests/p_php/20-php-mysql-test.sh b/tests/p_php/20-php-mysql-test.sh index 6af8bf4..23f4497 100755 --- a/tests/p_php/20-php-mysql-test.sh +++ b/tests/p_php/20-php-mysql-test.sh @@ -14,13 +14,15 @@ if [ $centos_ver = 5 ] then t_InstallPackage mysql-server mysql55-mysql-server nc t_ServiceControl mysql55-mysqld stop + t_ServiceControl mysqld start >/dev/null 2>&1 elif [ $centos_ver = 6 ] then t_InstallPackage mysql-server nc + t_ServiceControl mysqld start >/dev/null 2>&1 else t_InstallPackage mariadb-server nc + t_ServiceControl mariadb start >/dev/null 2>&1 fi -t_ServiceControl mariadb start >/dev/null 2>&1 #create a little DB to use CREATE='/var/tmp/mysql-php-QA.sql'