阿里云centos7怎么装mysql

2024-11-23 09:27:38
推荐回答(1个)
回答1:

yum -y install mariadb-server mariadb mariadb-devel
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
firewall-cmd --permanent --add-service mysql
iptables -L -n|grep 3306