mysql - InnoDB Corruption in Xampp -
i have backup 2 weeks ago last resort, db files seem fine , appears it's libdata1
file having issues. stated, i'm using xampp , mysql crashes right after start it. here error log: http://textuploader.com/7vfd
i hadn't done out of ordinary; seemingly , stopped working.
i looked innodb recovery, solutions tried required mysql functional, isn't due corruption. there way salvage presumably intact ibd files bad libdata1
file?
edit: aware of using innodb_force_recovery = #
, had tried it...except had tried in wrong my.ini
. had use 1 in bin
folder. appears fixed now.
the ibdata1 file contains tablespace information , other metadata mysql database(s).
you can try using innodb_force_recovery = 1
way innodb_force_recovery = 6
see if rectifies problem. try changing in my.cnf
(my.ini
windows) file , attempt restart mysql server again.
if able start mysql using recovery flag, database in read-only mode. should mysqldump of data, stop mysql, re-install fresh, create database again, , import in data.
here link more info on innodb recovery dev.mysql.
if use linux...
another more complex option use percona recovery tool kit. realign tablespaces. although, experience bit of challenge navigate , takes bit of time implement if newb.
however, akuzminsky creator of toolkit (how cool that!) mentioned has made significant improvements toolkit.
link download toolkit percona.com
link walkthough chrisql.
link akuzinsky's website twindb.
unless data mission critical, revert backup 2 weeks prior. amount of time , effort may end putting recovering data may out way benefit.
Comments
Post a Comment