2017-08-12 18:13:18 28414 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different> in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2017-08-12 18:13:18 28414 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablesp
ace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created i
n this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data fi
les which contain your precious data!
2017-08-12 18:13:18 28414 [ERROR] Plugin 'InnoDB' init function returned error.
2017-08-12 18:13:18 28414 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-12 18:13:18 28414 [ERROR] Unknown/unsupported storage engine: InnoDB
2017-08-12 18:13:18 28414 [ERROR] Aborting
1、原来的ibdata1大小为:768*16/1024=12M
2、当前ibdata1被修改为:8192*16/1024=128M
innodb_data_file_path = ibdata1:128M:autoextend
发现我现在的大小就是128M,这边改为12M试试
[root@linux-mysql02 data]# /etc/init.d/mysqld start
Starting MySQL.. SUCCESS!
成功启动!!!