mysql 启动不了 innodb的 一启动就报错的解决方法
2012-07-17 20:26
323 查看
120717 20:07:18 [Note] Plugin 'FEDERATED' is disabled.
120717 20:07:18 InnoDB: Initializing buffer pool, size = 512.0M
120717 20:07:19 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 134217728 bytes!
120717 20:07:19 [ERROR] Plugin 'InnoDB' init function returned error.
120717 20:07:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120717 20:07:19 [ERROR] Unknown/unsupported table type: InnoDB
120717 20:07:19 [ERROR] Aborting
日志如上
首先要备份下你的数据 我不懂php了 整个mysql都拷贝了一下 然后 改数据引擎在my,ini中
default-storage-engine = InnoDB
发现就是这个
然后改缓存
innodb_log_file_size=5M
注意这个5m 和我错误日志的大小一致 然后重启mysql 一切ok
记得要备份 一定要备份!
120717 20:07:18 InnoDB: Initializing buffer pool, size = 512.0M
120717 20:07:19 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 134217728 bytes!
120717 20:07:19 [ERROR] Plugin 'InnoDB' init function returned error.
120717 20:07:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120717 20:07:19 [ERROR] Unknown/unsupported table type: InnoDB
120717 20:07:19 [ERROR] Aborting
日志如上
首先要备份下你的数据 我不懂php了 整个mysql都拷贝了一下 然后 改数据引擎在my,ini中
default-storage-engine = InnoDB
发现就是这个
然后改缓存
innodb_log_file_size=5M
注意这个5m 和我错误日志的大小一致 然后重启mysql 一切ok
记得要备份 一定要备份!
相关文章推荐
- MYSQL无法启动提示: Default storage engine (InnoDB) is not available的解决方法
- Mysql启动错误:“InnoDB: Error: unable to create temporary file”的解决方法
- MYSQL无法启动提示: Default storage engine (InnoDB) is not available的解决方法
- MySQL 启动时禁用了 InnoDB 引擎的解决方法
- 非正常关机时,innodb故障导致mysql无法启动的解决方法
- MySQL启动时InnoDB引擎被禁用了的解决方法
- centos 7 yum install mysql 安装mariadb 后 mysql 无法启动的解决方法
- MySQL 5.1 无法启动 1067 错误解决方法
- 修改mysql的my.ini文件,导致mysql服务1067启动失败的解决方法
- Linux下安装mysql后无法启动的解决方法
- mysql启动报错和主从同步报错解决方法
- MySQL —— 无法启动MySQL 提示1067 错误 解决方法
- windows7启动MySql报错Table 'mysql.plugin' doesn't exist的解决方法
- 解决Mysql服务器启动时报错问题的方法
- web系统启动报错:mysql数据库连接many connection errors; unblock with 'mysqladmin flush-hosts' 解决方法
- Fedora 13 中mysql 数据文件夹换位置后不能启动服务的解决方法
- 关于在XAMPP中启动MySQL失败的解决方法
- mysql 无法启动,错误1067,进程意外终止(特殊解决方法)
- 安装MySQL 5后无法启动(不能Start service)解决方法小结
- MySQL不支持InnoDB的解决方法