使用RMP格式文件将MYSQL从5.7.27升级8.0.25
作者:互联网
MySQL:8.0.25
MySQL Community Server (Archived Versions)
Product Version:8.0.25
Operating System:Red Hat Enterprise Linux / Oracle Linux
OS Version:Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit)
查找残留文件,并删除旧的版本文件
因为 旧版本 mysql 的依赖问题,最快的解决方案就是卸载重装
rpm -qa | grep -i mysql
删除mysql旧版本的rpm格式文件,避免前后版本冲突
yum -y remove mysql-community-libs-5.7.27-1.el7.x86_64
yum -y remove mysql-community-server-5.7.27-1.el7.x86_64
yum -y remove mysql-community-common-5.7.27-1.el7.x86_64
yum -y remove mysql-community-libs-compat-5.7.27-1.el7.x86_64
yum -y remove mysql-community-client-5.7.27-1.el7.x86_64
安装顺序:包之间相互依赖,所以必须注意安装顺序
- rpm -ivh mysql-community-common-8.0.25-1.el7.x86_64.rpm
- rpm -ivh mysql-community-client-plugins-8.0.25-1.el7.x86_64.rpm
- rpm -ivh mysql-community-libs-8.0.25-1.el7.x86_64.rpm
- rpm -ivh mysql-community-client-8.0.25-1.el7.x86_64.rpm
- rpm -ivh mysql-community-server-8.0.25-1.el7.x86_64.rpm
参考资料
标签:8.0,RMP,27,x86,community,格式文件,64,mysql,el7 来源: https://blog.csdn.net/guizishou00/article/details/120843470