innodb引擎Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2011-09-04 17:34
399 查看
今天在做innodb参数配置的时候,对其默认配置加以修改--结果导致启动后的server竟然不支持innodb引擎。Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
错误日志:
InnoDB: Data file /usr/local/mysql4/data/ibdata2 did not exist: new to be created
100702 14:34:53 InnoDB: Setting file /usr/local/mysql4/data/ibdata2 size to 20 MB
InnoDB: Database physically writes the file full: wait...
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.1/en/error-creating-innodb.html
100702 14:34:54 [ERROR] Plugin 'InnoDB' init function returned error.
100702 14:34:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
在遇到这些情况的时候,我起初考虑是没有建立新日志文件的权限。
实则不然
当我在未正常关闭server的情况下对其参数修改,
修改之后没有删除ib_logfile文件,ib_logfile文件中记录些innodb引擎非常有用的信息比如说默认的innodb默认的配置信息,你又是在未正常关闭server情况下操作的,所以导致重启后的server不支持innodb引擎。
rm -rf ib_logfile*
正确配置参数
重启server。
错误日志:
InnoDB: Data file /usr/local/mysql4/data/ibdata2 did not exist: new to be created
100702 14:34:53 InnoDB: Setting file /usr/local/mysql4/data/ibdata2 size to 20 MB
InnoDB: Database physically writes the file full: wait...
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.1/en/error-creating-innodb.html
100702 14:34:54 [ERROR] Plugin 'InnoDB' init function returned error.
100702 14:34:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
在遇到这些情况的时候,我起初考虑是没有建立新日志文件的权限。
实则不然
当我在未正常关闭server的情况下对其参数修改,
修改之后没有删除ib_logfile文件,ib_logfile文件中记录些innodb引擎非常有用的信息比如说默认的innodb默认的配置信息,你又是在未正常关闭server情况下操作的,所以导致重启后的server不支持innodb引擎。
rm -rf ib_logfile*
正确配置参数
重启server。
相关文章推荐
- innodb引擎Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- [轉]innodb引擎Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- Plugin 'InnoDB' registration as a STORAGE ENGINE failed解决方法
- Plugin 'InnoDB' registration as a STORAGE ENGINE failed
- ndbcluster引擎表同步到innodb引擎报错Error 'Unknown storage engine 'ndbcluster'
- 解决在phpmyadmin中执行sql语句出现的错误:Unknown storage engine 'InnoDB'
- [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- 解决在phpmyadmin中执行sql语句出现的错误:Unknown storage engine 'InnoDB'
- MySQL启动时报Plugin 'InnoDB' registration as a STORAGE ENGINE failed.错误
- MySQL备份/还原 Unknown storage engine 'InnoDB'
- Table 'xxx'is marked as crashed and last (automatic) repair failed
- 14.1.1 InnoDB as the Default MySQL Storage Engine
- MySQL Plugin 'InnoDB' init function returned error
- ERROR 1286 (42000): Unknown table engine 'InnoDB'
- Unknown table engine 'InnoDB'
- Mongodb无法启动:The default storage engine 'wiredTiger' is not available with this build of mongod.
- mysql Plugin 'InnoDB' init function returned error
- Unknown table engine 'InnoDB'
- mysql “The InnoDB memory heap is disabled ” Plugin 'FEDERATED' is disabled 报错解决办法