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
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
本文标题:mariadb安装
本文链接:https://www.haomeiwen.com/subject/wkwfjxtx.html
网友评论