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 > recover databases without the .frm-files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 08:57
migoo migoo is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Question recover databases without the .frm-files

Hi!

The disk on wich the mysql is located is bad and I have changed to a new disk. I now see that there are a lot of .frm-files missing.

Is there any way to recover the tables from only the .MYD- and .MYI-files.

I'm using mysql 4.0.16 on a Linux machine (debian)
Reply With Quote
  #2 (permalink)  
Old 02-15-04, 11:35
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
frm file contain only definition of your table and nothings else. SO you can recreate your table by using sql statement used to create them before.
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 02-15-04, 12:47
migoo migoo is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Thank you but...

I knew that. Sorry if I didn't wrote that. What I was looking for was if there was any way to recreate the frm-file from the .MYD and .MYI-files. You see the problem is that I do not have the exact create definition of the tables

//Migoo
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