. frm. myd. myi files in MySQL

Source: Internet
Author: User
Tags phpmyadmin

Yesterday saw a library management system program, found that the database files are myi,frm and myi files, not flat commonly used. sql files, which have not been used before, have not noticed this before. Online search for a bit, hehe, smoothly imported into MySQL.

First, let's introduce the. frm myd. myi file. . frm myd. Myi is a file that MySQL stores data on, represents the structure/data and index files of MySQL database tables, and we create only the database table structure files when creating databases and tables by default. frm. When you migrate a database, you must have a database table file in three formats in order for the DB to work correctly.

Open your MySQL data directory, you may also encounter another file format. Opt you can open it with a text editor and you can see that the encoded information is stored inside. Frm,myd,myi is a file that belongs to MySQL storage data, phpMyAdmin cannot be imported. phpMyAdmin supports file formats for SQL files. The following is the operation method of the relevant introduction, I hope to be helpful to everyone.

In fact, the operation is very simple:

First find your MySQL installation directory under the Data folder, generally in the C drive, for example, my is in C:\ProgramData\MySQL\MySQLServer 6.0\data\, where you can see the database you previously established, open these, uh, are . frm. myd. myi file. Create a new folder under the Data folder whose name is the name of the database and put those. frm. myd. myi files in this folder.

Then you can use your tools to see exactly what's in the table.


. frm. myd. myi files in MySQL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.