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