As a result of the 'sad' events, the directory with installed mysql and stored inside the database was deleted. Only the directory from mysql/bin/data/mydbname , as I believe, with the data inside (judging by the weight).

Actually the question: how to get the data from this folder?
There are files with the names of the tables and the extensions .frm .ibd and db.opt

1 answer 1

Try

--innodb_force_recovery

But we must act carefully! To start, create a backup of these files. Detailed guide on Habré can be found