If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL MYD File Format

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-05, 10:34
ialameh ialameh is offline
Registered User
 
Join Date: Jan 2005
Posts: 2
MySQL MYD File Format

Hello,

I need your help in this crises (sort of crises)
I had a harddisk crash, and data from the harddisk has been deleted,

I am able to retrieve some large file, but I don't know their names and which table they belong to also which database,

I have 3 big databases, each of about 500 MB which i want to retrieve,

Any one can tell me any hint about the MYD file format,

Is it documented somewhere

Any one help please

Regards
Issam
Reply With Quote
  #2 (permalink)  
Old 01-31-05, 11:42
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
MYD file name will give you the name of the table
the folder where you find the file will give you the name of the database
.frm file will give you the table schema

But it's always better to use backup and restaur them
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 01-31-05, 13:00
ialameh ialameh is offline
Registered User
 
Join Date: Jan 2005
Posts: 2
My problem is that i have files without file names (recovered inodes)

Can I construct at lease an frm file that most likely look like the original frm to guess the table?

i.e. can i get something like

field a could be varchar(50)

field be could be number

and so on


Issam
Reply With Quote
  #4 (permalink)  
Old 01-31-05, 13:40
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
it will be really difficult if you don't have any schema

You need this schema to restore your database
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On