CentOS7安装mariadb

来源:互联网 发布:js 获取所有元素 编辑:程序博客网 时间:2024/04/30 07:35

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  拷贝配置文件

0 0
原创粉丝点击