日期:2014-05-16  浏览次数:20742 次

mysql启动错误
在linux下刚装完mysql数据库,安装的时候没有出什么错误,可是启动的时候报错:
Timeout error occurred trying to start MySQL Daemon.
下面是一些错误日志:
110920 16:46:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110920 16:46:21 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
110920 16:46:21 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110920 16:46:21 InnoDB: The InnoDB memory heap is disabled
110920 16:46:21 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
110920 16:46:21 InnoDB: Compressed tables use zlib 1.2.3
110920 16:46:21 InnoDB: Using Linux native AIO
110920 16:46:21 InnoDB: Initializing buffer pool, size = 128.0M
110920 16:46:22 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5042176 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
110920 16:46:22 [ERROR] Plugin 'InnoDB' init function returned error.
110920 16:46:22 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
110920 16:46:22 [ERROR] Unknown/unsupported storage engine: InnoDB
110920 16:46:22 [ERROR] Aborting

110920 16:46:22 [Note] /usr/sbin/mysqld: Shutdown complete

110920 16:46:22 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
请大家帮忙看下阿,找了好久都没有解决!!!!!!!!!!!

------解决方案--------------------
ib_logfile0 
ib_logfile1两个都删掉重启服务