Solved

How do you open a MySQL .frm file

Posted on 2014-02-17
10
494 Views
Last Modified: 2014-02-17
I was given some FRM files to open, but they do not have matching MYD files.  Is there any way that I can open them?  They're not even visible in PHP MyADMIN.  Thanks.
0
Comment
Question by:ssailer
  • 5
  • 5
10 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39866079
That doesn't make any sense.  The FRM files just contain some info about the table organization of the MYD and maybe the MYI files.  The FRM files on my computer are mostly 0's.
0
 

Author Comment

by:ssailer
ID: 39866097
This is all they sent to me.  There are no matching MYD files.  So ... maybe they can't be opened because they are essentially incomplete?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39866129
The FRM file does not contain any of the data from the table.  The MYD files contain the data and I believe the MYI files contain the indexes.
0
 

Author Comment

by:ssailer
ID: 39866135
Yes ... correct.  I wasn't sure if there was any way to open the FRM file without the matching MYD file.  Guess not.  :(
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39866173
It's just a binary file.  I looked at it with a program called Filealyzer http://www.safer-networking.org/products/filealyzer/ which will let you view a hex dump of the file contents.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:ssailer
ID: 39866178
But it's not going to allow me to view any real data, right?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39866203
No, because there isn't any real data there.  I can see the names of the columns in the FRM but not much more.  All of the data is in the MYD file.
0
 

Author Comment

by:ssailer
ID: 39866228
Alright ... kind of what I thought - too bad.
0
 

Author Closing Comment

by:ssailer
ID: 39866229
My question was answered, but there was no solution to my question.  Not the responder's fault ... it just couldn't be done.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39866280
Thanks for the points.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Creating and Managing Databases with phpMyAdmin in cPanel.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now