Plugin InnoDB registration as a STORAGE ENGINE failed解决方法
发布:smiling 来源: PHP粉丝网 添加日期:2014-09-28 15:22:01 浏览: 评论:0
本文章给大家介绍Plugin InnoDB registration as a STORAGE ENGINE failed解决方法,希望此文章对碰到此类问题的朋友有些帮助.
原先一台数据库未安装Innodb引擎,今天动态增加他,发现innodb加载不了,报错Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed,从详细日志里面发现创建log file创建失败,详细日志如下:
- 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.1/en/error-creating-innodb.html
- 131017 0:45:52 [ERROR] Plugin 'InnoDB' init function returned error.
- 131017 0:45:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. //phpfensi.com
其实之前这台服务器有加载过innodb,后来卸掉了,但是logfile文件没有删除,导致从新加载的时候出现这个问题,解决方法很简单,代码如下:
rm -rf ib_logfile*
然后重新动态加载一次innodb即可,如果不行,那么重启一下mysql.
Tags: registration STORAGE failed
相关文章
- ·mysql提示Got error 28 from storage engine问题解决方法(2014-09-23)
- ·mysql提示mysql daemon failed to start解决办法(2014-10-07)
- ·MYSQL:Failed to open the relay log解决办法(2014-10-09)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)