问题一:开始安装了MySQL8的版本,后来卸载了安装5.7版本,安装成功后一直起不来,就出现了该问题:

阿里云centos服务器安装MySQL遇到的问题

阿里云centos服务器安装MySQL遇到的问题

 通过日志文件发现原来是InnoDB的问题。原mysql8.0版本高于5.7版本,高版本的InnoDB引擎,而低版本的数据库服务还是指向了这些数据,但是一些版本的数据格式不同导致的该问题。

只要删除了/var/lib下面的MySQL文件夹即可。

 

问题二:

All matches were filtered out by modular filtering for argument: mysql-community-server
Error: Unable to find a match: mysql-community-server

解决方法:

先执行:yum module disable mysql
再执行:yum -y install mysql-community-server

相关文章:

  • 2022-01-11
  • 2021-05-25
  • 2021-11-06
  • 2021-08-29
  • 2021-12-01
  • 2021-06-19
  • 2022-12-23
  • 2021-10-18
猜你喜欢
  • 2021-12-07
  • 2021-08-12
  • 2022-01-15
  • 2022-02-09
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
相关资源
相似解决方案