Solved

How do you open a MySQL .frm file

Posted on 2014-02-17
10
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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
 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Difference between PHPClasse.php and SimplXLS.php 5 45
if statement malfunction 5 44
geting data from the array list 6 37
Horizontal Full Calendar using php 5 42
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

734 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