MySQL Plugin 'InnoDB' init function returned error
2014-02-12 16:18
429 查看
MySQL Plugin 'InnoDB' init function returned error.
. . 在MySQL的配置文件中,设定default-table-type=InnoDB,发现MySQL无法正常的启动,错误日志中给出了如下的信息:
引用
00703 09:28:53 mysqld_safe Starting mysqld daemon with databases from /root/sandboxes/spider_main/data
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 134217728 bytes!
100703 9:28:54 [ERROR] Plugin 'InnoDB' init function returned error.
100703 9:28:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
100703 9:28:54 [Note] Found 1 prepared transaction(s) in SPIDER
100703 9:28:54 [Warning] Found 1 prepared XA transactions
100703 9:28:54 [Note] Event Scheduler: Loaded 0 events
100703 9:28:54 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: ready for connections.
Version: '5.1.44' socket: '/tmp/mysql_sandbox5144.sock' port: 3306 Source distribution
100703 9:34:59 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: Normal shutdown
调查得知,只要删除MySQL目录下的ib_logfile0和ib_logfile1两个文件,就可以解决问题了。
. . 在MySQL的配置文件中,设定default-table-type=InnoDB,发现MySQL无法正常的启动,错误日志中给出了如下的信息:
引用
00703 09:28:53 mysqld_safe Starting mysqld daemon with databases from /root/sandboxes/spider_main/data
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 134217728 bytes!
100703 9:28:54 [ERROR] Plugin 'InnoDB' init function returned error.
100703 9:28:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
100703 9:28:54 [Note] Found 1 prepared transaction(s) in SPIDER
100703 9:28:54 [Warning] Found 1 prepared XA transactions
100703 9:28:54 [Note] Event Scheduler: Loaded 0 events
100703 9:28:54 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: ready for connections.
Version: '5.1.44' socket: '/tmp/mysql_sandbox5144.sock' port: 3306 Source distribution
100703 9:34:59 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: Normal shutdown
调查得知,只要删除MySQL目录下的ib_logfile0和ib_logfile1两个文件,就可以解决问题了。
相关文章推荐
- mysql Plugin 'InnoDB' init function returned error
- Plugin 'InnoDB' init function returned error
- MySql5.5 Plugin 'InnoDB' init function returned error
- mac plugin 'innodb' init function returned error. mariadb
- mysql “The InnoDB memory heap is disabled ” Plugin 'FEDERATED' is disabled 报错解决办法
- ERROR 1289 (HY000): The 'partitioning' feature is disabled; you need MySQL built with '--with-plugin
- ERROR 1054 (42S22): Unknown column 'plugin' in 'mysql.user'
- Plugin 'InnoDB' init function returned error.Could not start the service MySQL 解决方法
- mysql innodb init function error
- MySQL 编译出现 error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in this function) 错误
- MySQL 从 5.5 升级到 5.6,启动时报错 [ERROR] Plugin 'InnoDB' init function returned error
- Mysql5.6启动报错, [ERROR] InnoDB: Could not find a valid tablespace file for 'pa
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- windows系统下mysql出现Error 1045(28000) Access Denied for user 'root'@'localhost'
- insmod: init_module 'hello.ko' failed (Exec format error)
- mysql全局权限账户%登录不上ERROR 1045 (28000): Access denied for user 'mhz'@'localhost' (using password: YES)
- Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in
- innodb引擎Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
- 数据库连接错误 Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' 解决