MySQL Forums
Forum List  »  Newbie

Re: getting .myd and .myi files into mysql
Posted by: Roland Bouman
Date: July 13, 2005 12:03PM

I never did this, so i can't be sure this helps.

But...my MySQL directoy tree looks like this:

drive:\%installdir%\data\%databasename%\

so, one distinct directory per database.
And also, for each pair of .MYD and .MYI files, I have one .FRM file.

I think that .MYD is data, MYI is index, and FRM would be format, that is, structure.
So, try to find out if you're missing those. If you cannot get those, move your MyD and MyI files to a separate location, create the tables in exactly the format of the source system (dont forget things as engine=...row_format=...character set, collation, see the create table statement in the manual), and then copy the MYI adn MYD files back.

Pls let me know if it worked out. I'm quite curious...

Options: ReplyQuote


Subject
Written By
Posted
Re: getting .myd and .myi files into mysql
July 13, 2005 12:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.