centos安装mysql
2019-03-10 本文已影响0人
hibigger
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