执行/etc/init.d/mysqlstart时一直无法启动,我的ubuntu版本为14.04,查看mysql的error.log日志文件,日志文件的描述为:66InnoDB:Error:spaceheaderpageconsistsofzerobytesindatafi...
执行/etc/init.d/mysql start 时一直无法启动,我的ubuntu版本为14.04,查看mysql的error.log日志文件,日志文件的描述为:
66 InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
67 150826 22:05:05 InnoDB: Could not open or create data files.
68 150826 22:05:05 InnoDB: If you tried to add new data files, and it failed here,
69 150826 22:05:05 InnoDB: you should now edit innodb_data_file_path in my.cnf back
70 150826 22:05:05 InnoDB: to what it was, and remove the new ibdata files InnoDB created
71 150826 22:05:05 InnoDB: in this failed attempt. InnoDB only wrote those files full of
72 150826 22:05:05 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
73 150826 22:05:05 InnoDB: remove old data files which contain your precious data!
74 150826 22:05:05 [ERROR] Plugin 'InnoDB' init function returned error.
75 150826 22:05:05 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
76 150826 22:05:05 [ERROR] Unknown/unsupported storage engine: InnoDB
77 150826 22:05:05 [ERROR] Aborting
78
79 150826 22:05:05 [Note] /usr/sbin/mysqld: Shutdown complete
80
81 150826 22:05:05 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
展开