Aly Ahmed Mohamed Aly Ahmed Mohamed - 2 months ago 9x
MySQL Question

What are the generated files when creating a table in MySQL (.opt, .frm, .MYD, .MYI)

When I create a database in MySQL and create a table called

in it, 4 files are generated:

  1. db.opt

  2. flats.frm

  3. flats.MYD

  4. flats.MYI

This happens every time a table is created.

What are these files?

pah pah

The file db.opt contains the database characteristics. It is updated every time the database is altered.

For the remaining 3 files: