Jump to content

.frm / .MYD / .MYI files


woolyg

Recommended Posts

Hi all,

 

In my infinite wisdom and staggering ineptitude, I had a crash and lost all of the info on my testing webserver. I've since reinstalled the webserver, and am about to get into re-integrating my MYSQL files from a backup.

 

I'm running XAMPP on a windows machine, and in the mysql/data folder there are folder entries for the various databases I set up.

 

My question is - Once I have recreated the blank DB of the same name of the original DB, is it OK to simply go and grab the relevant .frm / .MYD / .MYI files from the backup, and copy them to the DB's folder?

... or are there implications of doing that?

 

All info appreciated.

Woolyg.

Link to comment
Share on other sites

The best way would be having a dump (that means a file in which you have all sql commands to recreate the db), but if you don't have it, you can try that way. Given that all your tables were MyIsam table, of course.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.