Centos8下rpm包安装mysql-5.7.31
yum install -y libncurses* perl cd ~/mysql-5.7.31-1.el7.x86_64.rpm-bundle systemctl restart mysqld cd mysql-5.7.31-1.el7.x86_64.rpm-bundle/ rpm -i mysql-community-common-5.7.31-1.el7.x86_64.rpm rpm -i mysql-community-libs-5.7.31-1.el7.x86_64.rpm rpm -i mysql-community-client-5.7.31-1.el7.x86_64.rpm systemctl enable mysqld rpm -i mysql-community-server-5.7.31-1.el7.x86_64.rpm systemctl enable mysqld systemctl start mysqld rm -rf mysql-5.7.31-1.el7.x86_64.rpm-bundle/ cat /var/log/mysqld.log systemctl restart mysqld systemctl stop mysqld
评论已经关闭