CentOS7安装mariadb

来源:互联网 发布:加特效的软件 编辑:程序博客网 时间:2024/04/30 03:27

yum install mariadb mariadb-server

systemctl start mariadb.service

systemctl stop mariadb.service

systemctl restart mariadb.service

systemctl enable mariadb.service  设置开机启动

cp /usr/share/mysql/my-huge.cnf /etc/my.cnf  拷贝配置文件

或者直接点:

yum install mariadb*

0 0