Срочно! Нужна помощь.
Posted: Thu Jul 03, 2014 12:12 am
Удала DB после сбоя электричества. в
В логах:
В логах:
Code: Select all
/var/log/mysql/error.log 5897875/5760K 100%
140703 3:16:01 InnoDB: Compressed tables use zlib 1.2.7
140703 3:16:01 InnoDB: Using Linux native AIO
140703 3:16:01 InnoDB: Initializing buffer pool, size = 128.0M
140703 3:16:01 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
140703 3:16:01 InnoDB: Could not open or create data files.
140703 3:16:01 InnoDB: If you tried to add new data files, and it failed here,
140703 3:16:01 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140703 3:16:01 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140703 3:16:01 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140703 3:16:01 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140703 3:16:01 InnoDB: remove old data files which contain your precious data!
140703 3:16:01 [ERROR] Plugin 'InnoDB' init function returned error.
140703 3:16:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140703 3:16:01 [ERROR] Unknown/unsupported storage engine: InnoDB
140703 3:16:01 [ERROR] Aborting
140703 3:16:01 [Note] /usr/sbin/mysqld: Shutdown complete
140703 03:16:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140703 3:16:40 [Note] Plugin 'FEDERATED' is disabled.
140703 3:16:40 InnoDB: The InnoDB memory heap is disabled
140703 3:16:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140703 3:16:40 InnoDB: Compressed tables use zlib 1.2.7
140703 3:16:40 InnoDB: Using Linux native AIO
140703 3:16:40 InnoDB: Initializing buffer pool, size = 128.0M
140703 3:16:40 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
140703 3:16:40 InnoDB: Could not open or create data files.
140703 3:16:40 InnoDB: If you tried to add new data files, and it failed here,
140703 3:16:40 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140703 3:16:40 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140703 3:16:40 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140703 3:16:40 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140703 3:16:40 InnoDB: remove old data files which contain your precious data!
140703 3:16:40 [ERROR] Plugin 'InnoDB' init function returned error.
140703 3:16:40 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140703 3:16:40 [ERROR] Unknown/unsupported storage engine: InnoDB
140703 3:16:40 [ERROR] Aborting
140703 3:16:40 [Note] /usr/sbin/mysqld: Shutdown complete
140703 03:16:40 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended