Starting MySQL.Manager of pid-file quit without updating fi
MySQL配置后启动发现这个问题,最后经过查询发现是下面这条配置导致的: [code] innodb_log_file_size [/code] 原因是ib_logfile导致的; [code] 130202 04:12:57 mysqld_safe mysqld from pi...
MySQL配置后启动发现这个问题,最后经过查询发现是下面这条配置导致的:
[code]
innodb_log_file_size
[/code]
原因是ib_logfile导致的;
[code]
130202 04:12:57 mysqld_safe mysqld from pid file /var/lib/mysql/205.pid ended
130202 04:12:59 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130202 4:12:59 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
130202 4:12:59 [Note] Plugin 'FEDERATED' is disabled.
130202 4:12:59 InnoDB: Initializing buffer pool, size = 256.0M
130202 4:12:59 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 16777216 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!
130202 4:12:59 [ERROR] Plugin 'InnoDB' init function returned error.
130202 4:12:59 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130202 4:12:59 [ERROR] Unknown/unsupported table type: innodb
130202 4:12:59 [ERROR] Aborting
[/code]
删除data下面的ib_logfile,然后再重启就可以了!
评论交流
暂无评论,欢迎留下你的想法