阿里云centos服务器安装MySQL遇到的问题
问题一:开始安装了MySQL8的版本,后来卸载了安装5.7版本,安装成功后一直起不来,就出现了该问题:
通过日志文件发现原来是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
问题三:2003-can‘t connect to MYSQL server on ‘‘(10060)
解决方法:
还没有评论,来说两句吧...