innodb引擎Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-05-20 10:03
681 查看
今天在做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。
相关文章推荐
- figure & figcaption 、details & summary 、 mark
- lightoj 1038 Race to 1 Again
- HoloLens开发手记-硬件细节 Hardware Detail
- grails基于groovy开发的动态框架。开发过程中常见的错。
- _MainTex_ST是什么
- initialization failure:0×0000000c错误以及软件无法正常启动解决
- pymongo.errors.OperationFailure:Overflow sort stage buffered data usage exceeds in internal limit
- 深度学习之Google Deepmind的alphago人工智能算法技术演变历程
- SVN:cleanup failed–previous operation has not finished; run cleanup if it was interrupted
- ACM: uva 1450 - Airport
- 人工智能60周年前沿趋势交流会【转】
- UltraISO制作U盘启动盘
- Dataiku DSS安装文档
- HDU2124 Repair the Wall(贪心)
- POJ 1804-Brainmanp【逆序对】
- Codeforces Round #353 (Div. 2) -- B. Restoring Painting (规律)
- HDU 2457 DNA repair
- the server ssl certificate failed to verify
- UVA - 10976 Fractions Again?!
- 1014. Waiting in Line (30)