由于小伙伴,事先手动安装了mysql,导致了一部分问题 彻底删除mysqlyum remove mysql mysql-server mysql-libs; find / -name mysql 将找到的相关东西delete掉; rpm -qa|grep mysql(查询出来的东东yum remove掉) yum remove mariadb 安装yum -y install mariadb-server systemctl mariadb操作//启动 systemctl start mariadb.service //开机启动 systemctl enable mariadb //状态 systemctl status mariadb //停止 systemctl stop mariadb 授权ip访问为 MariaDB 配置远程访问权限 (责任编辑:IT) |