MySQL libdata1 InnoDB error

Utworzono: 13 styczeń 2016

InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1

edit /etc/mysql/my.cnf

 

innodb_log_file_size = 256M
innodb_log_buffer_size = 8M
innodb_log_files_in_group = 3

 

In shell:

rm -rf /var/lib/mysql/ib_logfile* 

and start mysql