MySQL Plugin 'InnoDB' init function returned error

 

. . 在MySQL的配置文件中,设定default-table-type=InnoDB,发现MySQL无法正常的启动,错误日志中给出了如下的信息: 

150210 18:11:19 mysqld_safe mysqld from pid file /data/mysqldata/mysql.pid ended
150210 18:15:20 mysqld_safe Starting mysqld daemon with databases from /data/mysqldata
150210 18:15:20 InnoDB: The InnoDB memory heap is disabled
150210 18:15:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150210 18:15:20 InnoDB: Compressed tables use zlib 1.2.3
150210 18:15:20 InnoDB: Initializing buffer pool, size = 128.0M
150210 18:15:20 InnoDB: Completed initialization of buffer pool
150210 18:15:20 InnoDB: highest supported file format is Barracuda.
InnoDB: No valid checkpoint found.
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/error-creating-innodb.html
150210 18:15:20 [ERROR] Plugin 'InnoDB' init function returned error.
150210 18:15:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150210 18:15:20 [ERROR] Unknown/unsupported storage engine: InnoDB
150210 18:15:20 [ERROR] Aborting



在网上查找后,只要删除MySQL目录下的ib_logfile0和ib_logfile1和ibdata1就可以了,只删除前两个还是不行,得都删除才可以,我测试的时候是这样

posted @   mofy  阅读(6251)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示