Hello and good morning/evening/night to anyone reading this. One of our customers lost all data in their server and we had to reinstall a new server completely new.
I have been given the task to restore their 8 MySQL InnoDB databases. I only have a backup of the /var/lib/mysql directory, which contains the database directories, the .ibd and .frm files in them and the ib config files (ibdata1, ib_logfile...)
Content of backup of /var/lib/mysql, the adesa_ directories are the databases
When I copy the databases into the new /var/lib/mysql
I get an error saying the tables don't exist, so I also need to copy the ibdata1 and ib_logfile0 and 1. However, I get a ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded
when I try to access the database.
And sometimes mysql service wont start at all
How could I restore the databases, or at least, make a dump into a .sql file?