centos6.8安装mysql5.7报错

错误信息:
2020-05-16T22:52:44.186526Z 0 [ERROR] Fatal error: mysql.user table is damaged. Please run mysql_upgrade.
2020-05-16T22:52:44.186652Z 0 [ERROR] Fatal error: Failed to initialize ACL/grant/time zones structures or failed to
2020-05-16T22:52:44.186785Z 0 [ERROR] Aborting
试了很多办法,都没用以下办法可以解决
错误日志位置 var/log/mysqld.log
mysqld --skip-grant-tables
mysql_upgrade
killall mysqld
service mysqld start

你可能感兴趣的:(mysql,centos,linux)