- 获取mysql8.0 安装源
- [root@ganluren-wk ~]# wget http://repo.mysql.com/mysql80-community-release-el7.rpm
- 安装rpm源 [root@ganluren-wk ~]# rpm -ivh mysql80-community-release-el7.rpm
提示冲突 卸载mysql5.7 rpm [root@ganluren-wk ~]# rpm -e mysql57-community-release 再次安装mysql8.0 rpm [root@ganluren-wk ~]# rpm -ivh mysql80-community-release-el7.rpm
- 升级 [root@ganluren-wk ~]# dnf upgrade -y mysql
5 .查看版本 [root@ganluren-wk ~]# mysql –V
mysql> select version ();
标签:8.0,ganluren,5.7,root,wk,update,community,release,rpm From: https://blog.51cto.com/ganlurenstudy/6212351