centos7下yum安装mysql
首先查看服务器的系统和版本:cat /etc/redhat-release
yum安装
yum -y install mariadb-server
启动服务
systemctl start mariadb.service
开机自动启动
systemctl enable mariadb.service
查看mysql是否启动
ps -ef|grep mysql
加油啊,吴小喵
首先查看服务器的系统和版本:cat /etc/redhat-release
yum安装
yum -y install mariadb-server
启动服务
systemctl start mariadb.service
开机自动启动
systemctl enable mariadb.service
查看mysql是否启动
ps -ef|grep mysql