Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.5k views
in Technique[技术] by (71.8m points)

mysql 启动服务报错

我最近打算学习 mysql ,但是在安装就卡住了,无语了都。
我安装好以后,执行启动命令报一下错误:image.png
然后我去 MySQL 的日志里看了以下,有两条 error:
image.png
然后我百度这两个错误,怎么也解决不了,有没有大佬帮我看看!!
下面是两条报错信息,方便各位大佬查找:

[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

你的mysql什么版本?这是由于初始化没有完成造成的,参考这里解决:
https://stackoverflow.com/que...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...