Centos7 安装MYSQL

rpm -qa | grep mariadb
rpm -e --nodeps maria*******


mysql57-community-release-el7-7.noarch.rpm (find filename from mysql offical yum download page)
yum localinstall mysql57-community-release-el7-7.noarch.rpm (same filename with above)
yum install mysql-community-server
systemctl start mysqld
grep 'temporary password' /var/log/mysqld.log
mysql_secure_installation
mysql -u root -p
systemctl enable mysql
阅读更多

没有更多推荐了,返回首页