Directadmin MariaDB to Mysql57

一、先卸载mariadb

yum remove mysql
rm -f /usr/local/mysql/bin/mysql

 

 

二、安装mysql7

cd /usr/local/directadmin/custombuild
./build set mysql 5.7
./build set mysql_inst mysql
./build set mysql_backup yes
./build update
./build mysql
./build php n

 

分享到:更多 ()