mysql 5.0.45,
安装完成后显示:
为什么会这样,如何解决?
查看日志:
071017 17:47:40 mysqld started
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!
/etc/rc.d/init.d/mysqld stop
在/usr/local/mysql/data/下面执行
rm ib*
然后/etc/rc.d/init.d/mysqld start
OK
安装完成后显示:
| have innodb | DISABLED |
|---|
为什么会这样,如何解决?
查看日志:
071017 17:47:40 mysqld started
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!
/etc/rc.d/init.d/mysqld stop
在/usr/local/mysql/data/下面执行
rm ib*
然后/etc/rc.d/init.d/mysqld start
OK
文章描述了MySQL 5.0.45版本安装后InnoDB出现禁用的问题,并记录了解决过程:通过检查日志发现InnoDB日志文件大小与配置文件中指定的不一致,最终通过删除原有日志文件并重新启动服务成功解决问题。
522

被折叠的 条评论
为什么被折叠?



