Reputation: 7094
I recently had to re-install XAMPP on my Mac and I'm now trying to restore some SQL database tables from .MYD, .MYI and .frm files. I have tried dragging them into the file below:
xamppfiles/var/mysql/{database_name}
As per the instructions in the following links
How to recover MySQL database from .myd, .myi, .frm files
Restoring MySQL database from physical files
The table is listed in phpMyAdmin but when I try to view it I get the error below
#1017 - Can't find file: './{database_name}/{table_name}.frm' (errno: 13)
I have tried changing the permission on the .frm file and running the Unix executable file
xamppfiles/bin/mysql_upgrade
Upvotes: 0
Views: 8777