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'