Solved

How do you open a MySQL .frm file

Posted on 2014-02-17
10
488 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 82

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 82

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 82

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

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

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 82

Expert Comment

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Creating and Managing Databases with phpMyAdmin in cPanel.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

705 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

20 Experts available now in Live!

Get 1:1 Help Now