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.