# rpm -ivh mysql-community-common-8.0.23-1.el8.x86_64.rpm
# rpm -ivh mysql-community-client-plugins-8.0.23-1.el8.x86_64.rpm
# rpm -ivh mysql-community-libs-8.0.23-1.el8.x86_64.rpm
# rpm -ivh mysql-community-client-8.0.23-1.el8.x86_64.rpm
# rpm -ivh mysql-community-icu-data-files-8.0.28-1.el8.x86_64.rpm (8.0.28要先安装这个)
# rpm -ivh mysql-community-server-8.0.23-1.el8.x86_64.rpm
# rpm -ivh mysql-community-libs-compat-8.0.28-1.el7.x86_64.rpm
强制安装,顺序安装
rpm -ivh mysql-community-common-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-libs-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-libs-compat-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-client-plugins-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-client-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-icu-data-files-8.0.30-1.el7.x86_64.rpm --nodeps --force
rpm -ivh mysql-community-server-8.0.30-1.el7.x86_64.rpm --nodeps --force
卸载旧版本,顺序卸载
rpm -e mysql-community-server-8.0.29-1.el7.x86_64
rpm -e mysql-community-icu-data-files-8.0.29-1.el7.x86_64
rpm -e mysql-community-client-8.0.29-1.el7.x86_64
rpm -e mysql-community-libs-8.0.29-1.el7.x86_64
rpm -e mysql-community-libs-compat-8.0.29-1.el7.x86_64
rpm -e mysql-community-client-plugins-8.0.29-1.el7.x86_64
rpm -e mysql-community-common-8.0.29-1.el7.x86_64
标签:8.0,x86,community,版本升级,64,mysql,rpm
From: https://www.cnblogs.com/wszzn/p/18140607