遇到这个问题很是难受,打开电脑的服务,找到MySQL手动启动也不成功,最后在命令行中采用mysqld --console时,记录发现两个错误。[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
查了很多资料,最后是需要进行数据库的初始化。重新初始化之后就可以正常启动了
本文介绍了解决MySQL服务无法启动的问题,遇到错误提示“Can't open and lock privilege tables”及“Can't open the mysql.plugin table”。通过查找资料最终确定需要重新初始化数据库才能解决问题。

2万+

被折叠的 条评论
为什么被折叠?



