1. # yum install mariadb-server -y //如果已安装可以省略
2. # systemctl start mariadb.service //启动服务
3. # systemctl enable mariadb.service //开机启动服务
4. # mysql -u root -p //登录mysql
1. # yum install mariadb-server -y //如果已安装可以省略
2. # systemctl start mariadb.service //启动服务
3. # systemctl enable mariadb.service //开机启动服务
4. # mysql -u root -p //登录mysql
本文标题:centos安装mysql
本文链接:https://www.haomeiwen.com/subject/koxupqtx.html
网友评论