How to read MYI, MYD, frm

10.6k Views Asked by At

I'm complete beginner no experience with mySql at all. I've got some MYD, MYI, frm files containing measurements done by my machine. Could someone tell me step by step how to open those files? Ideally would be if someone would give me instruction on how to move data from these to excel.

1

There are 1 best solutions below

2
On BEST ANSWER
  1. (from the mysql commandline tool) CREATE DATABASE mytest; -- .
  2. (in the filesystem) copy those 3 files (foo.MYD, foo.MYI, foo.frm) into the directory called mytest.
  3. (from the mysql commandline tool) SELECT * FROM mytest.foo;

Then gripe at the user who gave you those files; that is not the way to pass MySQL data around.