简体   繁体   中英

How to read MYI, MYD, frm

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. (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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM