Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am just curious to know what data structures and languages does MYSQL exactly use as back end language? and what does the file format .MYD , .MYI and .frm stand for and how does MYSQL use them?


share|improve this question
up vote 1 down vote accepted

MySQL can be compiled in C/C++ and you can download the source code to do so.

At this link, Under the Select Platform ComboBox, Select Source Code and Download it from there

The .frm , .MYD, and .MYI make up a MyISAM table

For example, the user table for the mysql grants is amde up of three files

  • /var/lib/mysql/mysql/user.frm (Table Structure for any Storage Engine)
  • /var/lib/mysql/mysql/user.MYD (MyISAM Table Data)
  • /var/lib/mysql/mysql/user.MYI (MyISAM Table Indexes)
share|improve this answer
@RonaldoMySQLDBA thanks for the reply. It was quite helpful. – Rajat Shah May 11 '12 at 16:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.