centos7 yum装mysql怎么使用
发布网友
发布时间:2022-04-22 14:12
我来回答
共1个回答
热心网友
时间:2022-05-03 06:30
[培哥出品]
yum -y install mariadb-server mariadb mariadb-devel
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
firewall-cmd --permanent --add-service mysql
systemctl restart firewalld.service
iptables -L -n|grep 3306