I cannot run my mysql since yesterday, and I cannot access it, so I decided to reinstall it. I've backed up the data folder, which I presume contains all I need to restore the database after I reinstall mysql.
I've copy pasted and overwrite the old data folder with the backup, but it throws error that will prevent the mysql from loading up.
I've copy pasted only the folder with the same name as my database (let's say mydatabase), and it runs just fine, but the database itself could not be loaded. When I try to access the database with SQLyog, every table throws "Can't open file tablename.ibd"
How can I restore my database properly?
I'm using MySQL 4.1 and Windows 7.