Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do you open a MySQL .frm file

Posted on 2014-02-17
10
Medium Priority
?
543 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 84

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 84

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 1500 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 84

Expert Comment

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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

In this article, we’ll look at how to deploy ProxySQL.
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

636 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