The. frm. myd. myi file in mysql,. frm. myi

Source: Internet
Author: User

The. frm. myd. myi file in mysql,. frm. myi

When I saw a program in the library management system yesterday, I found that the database files are MYI, frm, and myi files, which are not commonly used. SQL files, which have never been used before, have not been noticed before. I searched for it online. Oh, it was smoothly imported into MYSQL.

First, let's first introduce what file. frm. myd. myi is .. Frm. myd. myi is a Mysql data storage file, which represents the structure, data, and index file of the MySQL database table. By default, only the database table structure files are generated when the database and table are created. frm. to use the database properly, you must have three format database table files.

Open your data directory in mysql, you may also encounter another file format. opt you can open it in a text editor, you can see that the saved encoding information .. Frm, myd, and myi are data files stored in MySQL, and phpMyAdmin cannot be imported. PhpMyAdmin supports SQL files. The following is an introduction to the operation methods.

In fact, the operation is very simple:

First, find the data folder under the installation directory of your mysql, which is usually on disk C. For example, if my file is in C: \ ProgramData \ MySQL \ MySQLServer 6.0 \ data \, here you can see the databases you have previously created and open these. frm. myd. myi file. Create a folder in the data folder. The folder name is the name of the database. Put all the. frm. myd. myi files in this folder.

Then you can use your tools to see what the table is.

 


Related Article

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.