mariadb安装
2017-08-31 本文已影响0人
yangx1
yum -y install mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
修改/etc/my.cnf文件
[client]
port=3306
socket=/mysqldb/data/mysql.sock
[mysqld]
datadir=/mysqldb/data
socket=/mysqldb/data/mysql.sock