请帮助我。MySQL守护程序无法启动。 ib_logfile的大小不同
服务器:AWS EC2
问题:
#sudo service mysqld start
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
六/var/log/mysqld.log:
151015 05:46:26 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151015 5:46:26 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.45) starting as process 14873 ...
151015 5:46:26 [Warning] option 'innodb-buffer-pool-size': signed value 1048576 adjusted to 5242880
151015 5:46:26 [Note] Plugin 'FEDERATED' is d151015 05:46:26 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
151015 05:46:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151015 5:46:42 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.45) starting as process 15133 ...
151015 5:46:42 [Note] Plugin 'FEDERATED' is disabled.
151015 5:46:42 InnoDB: The InnoDB memory heap is disabled
151015 5:46:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151015 5:46:42 InnoDB: Compressed tables use zlib 1.2.8
151015 5:46:42 InnoDB: Using Linux native AIO
151015 5:46:42 InnoDB: Initializing buffer pool, size = 128.0M
151015 5:46:42 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 0 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
151015 5:46:42 [ERROR] Plugin 'InnoDB' init function returned error.
151015 5:46:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151015 5:46:42 [ERROR] Unknown/unsupported storage engine: InnoDB
151015 5:46:42 [ERROR] Aborting
151015 5:46:42 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
151015 05:46:42 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
谢谢!
看吧http://serverfault.com/questions/379714/unknown-unsupported-storage-engine-innodb-mysql -ubuntu – Jens
@Jens这只是以前的错误的后果。这与这里的问题无关。 – fancyPants