phpStudy MySQL无法正常启动

2022-11-0422:29:19来源:运维术 评论 394 views

日志文件:

X:\phpStudy\PHPTutorial\MySQL\data\USER-***.err

显示:

[ERROR] Plugin 'InnoDB' init function returned error.

 

原因:

由于服务器没有正常关机导致mysql数据库无法启动报错。

 

解决办法:

删掉 X:\phpStudy\PHPTutorial\MySQL\data\ 目录下,以 ib_logfile 开头的数据文件即可。

E.g 类似下面的文件:

历史上的今天
11月
4

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: