I have a big problem with a MySQL database stored on my raspberry (InnoDB engine). I'm not very expert in this field but I'll try to explain to you the problem.
MySQL crash everytime that I try to start it and I need to recover the data stored inside the DB. The error is:
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
I just tried to start MySQL with the innodb_force_recovery flag from 1 to 6 but it still crashing. From the log I understood that the problem is a corruption inside some tables.
I tried to check my database file with https://recovery.twindb.com/ and it shows that some tables inside "mysql" database need to be recovered and the tables inside "production" database (the mine) are ok, indeed I can see all my data on this website. How can easly recover my data? There is some free tools or script that I can use? I have all files as ibdata01, *.frm, *.ibd