.MYD

MYD File

MySQL MyISAM Table Data File
Ask a question
QUICK ANSWER

A MYD file is the row-data portion of a MySQL MyISAM table. To access the data, place the matching .frm, .MYD, and .MYI files into a MySQL or MariaDB server's data directory, start the server, and export with mysqldump. There is no standalone viewer.

Developer: MySQL AB / Oracle Corporation (MyISAM engine; originally based on ISAM) Category: Database Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .DB · .DBF · .ACCDB · .SQL

On this page

19k+ extensions indexed
Last reviewed Jul 27, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MYD file format?

A .myd file is the row-data component of a MySQL MyISAM table. MyISAM stores each table as three sibling files sharing the same base name: table.frm holds the schema definition, table.MYD holds this file - the actual row records - and table.MYI holds the indexes and engine metadata.

The .myd file contains only raw binary row data with no column definitions of its own. It cannot be read in isolation; the .frm definition file and a running MySQL or MariaDB server are required to interpret the records. Rows are stored in one of three internal layouts: FIXED (all columns fixed-width), DYNAMIC (default when VARCHAR or BLOB columns are present), or COMPRESSED (read-only tables packed offline with myisampack).

By default the file size is capped at 4 GB, but this can be raised to up to 256 TB by setting MAX_ROWS and AVG_ROW_LENGTH table options. Deleted rows are not immediately reclaimed - they remain as gaps on a free list until OPTIMIZE TABLE is run. An optional live checksum (CHECKSUM=1) lets the engine track row-level integrity; the myisamchk utility and CHECK TABLE / REPAIR TABLE SQL statements work against the companion .MYI to diagnose and repair corruption.

MyISAM was the default MySQL storage engine from MySQL 3.23 (circa 2001) until MySQL 5.5 (2010), when InnoDB became the new default. Legacy databases and read-mostly workloads still produce .myd files today, supported by both MySQL and MariaDB.

Security & safety

RISK: MEDIUM

A .MYD is inert data - it contains no executable code - but it carries the same operational and privacy risks as any database file. Operationally: never copy, move, or delete .MYD files while the MySQL server is running, and never separate a .MYD from its matching .frm and .MYI or mix files across incompatible server versions - doing so corrupts or "crashes" the table. Privacy-wise the .MYD holds the table's actual rows in plaintext on disk (MyISAM has no encryption), so a leaked .MYD is a data breach exposing whatever the table stored - user records, e-mails, PII. Always work on copies and treat it like the sensitive database it is.

Format details

in a nutshell
FULL NAMEMySQL MyISAM Table Data Fileaka MyISAM data file, MySQL .MYD file
DEVELOPERMySQL AB / Oracle Corporation (MyISAM engine; originally based on ISAM)since 2001 (MyISAM became the default MySQL engine in MySQL 3.23)
MIME TYPEapplication/octet-stream
TYPEBinary row-data file for one MyISAM table (records, no indexes, no schema)

Programs that open MYD files

Windows4 apps
MySQL Workbench Open-source GUI client - connect to a running MySQL server that already has the table loaded, then browse and export. It cannot read a raw .MYD by itself.
MySQL Server Open-source The proper route: copy the .frm + .MYD + .MYI trio into the server's data directory (matching version), start MySQL, then SHOW CREATE TABLE / mysqldump to read or export the rows.
MariaDB Server Open-source MariaDB fully supports MyISAM - drop the three files into its data dir and dump the data. Often the easiest target for very old tables.
myisamchk (bundled with MySQL/MariaDB) Open-source Offline check/repair of a crashed table: 'myisamchk -r tablename.MYI' (works on the .MYD/.MYI pair while the server is stopped).
macOS1 app
MySQL Server / MariaDB Open-source Same approach as Windows: restore the .frm/.MYD/.MYI trio into a matching server and dump the table. No standalone .MYD viewer exists.
Linux2 apps
MySQL / MariaDB Server Open-source Copy the three files into /var/lib/mysql/<db>/ (matching version), start the service, then SHOW CREATE TABLE / mysqldump. The standard server-side route.
myisamchk (bundled) Open-source Repair a damaged MyISAM table offline: 'myisamchk --recover table.MYI'. Stop the server first and work on a copy.

Technical details

deep spec
File roleStores raw row data for one MyISAM table; contains no schema, indexes, or engine metadata
Companion filesAlways paired with `table.frm` (schema) and `table.MYI` (indexes) in the MySQL data directory; the three files share the same base name
Row formatFIXED (fixed-width columns), DYNAMIC (variable-length; default when VARCHAR or BLOB columns are present), or COMPRESSED (read-only, packed with myisampack)
Byte orderLittle-endian
EncodingBinary - raw binary record heap, no text encoding
File signatureNo fixed magic bytes or printable ASCII signature; identified by extension and the presence of sibling .frm and .MYI files
Default file size limit4 GB per table data file
Maximum file sizeUp to 256 TB, configured via MAX_ROWS and AVG_ROW_LENGTH table options at table creation
Deleted row handlingDeleted rows leave gaps on an internal free list; space is reclaimed by running OPTIMIZE TABLE
CompressionNone by default; read-only tables can be packed offline with myisampack to produce a compressed, read-only variant
EncryptionNo native table-level encryption - a known MyISAM limitation compared with InnoDB
Checksum and integrityOptional live checksum enabled with CHECKSUM=1 table option; integrity repair via myisamchk, CHECK TABLE, or REPAIR TABLE
MIME typeapplication/octet-stream
Platform supportCross-platform: Linux, Windows, macOS, FreeBSD - anywhere MySQL or MariaDB runs
Superseded byInnoDB .ibd files for transactional workloads; InnoDB became the MySQL default storage engine in MySQL 5.5 (2010)
Released2001 (MyISAM became the default MySQL engine in MySQL 3.23)
Latest versionStill produced by any MySQL/MariaDB table using ENGINE=MyISAM (legacy default before InnoDB took over in MySQL 5.5, 2010)
Specificationdev.mysql.com

MYD conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MYD files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MYD files.

Frequently asked questions

What is a MYD file?
It is the data file of a MySQL MyISAM table - it stores the table's rows. It is one of three files per table: .frm (structure), .MYD (data), .MYI (indexes). It is part of a database, not a standalone document.
How do I open a MYD file?
You don't open it directly. Put the .frm + .MYD + .MYI files into a matching MySQL or MariaDB server's data directory, start the server, then run SHOW CREATE TABLE / mysqldump to read or export the data. Opening the raw binary in a text editor shows gibberish.
Can I recover my data from just a .MYD file?
Only partially. The .MYD has the rows but no column definitions, so you also need the matching .frm (and ideally .MYI). With all three and a compatible MySQL/MariaDB server you can recover the table; a lone .MYD on its own is not readable.
What's the difference between .MYD, .MYI and .frm?
.frm is the table structure (columns/types), .MYD is the actual row data, and .MYI is the indexes. Together they make one MyISAM table. InnoDB tables use a single .ibd file instead.
My MyISAM table is marked 'crashed' - how do I fix it?
Run REPAIR TABLE from within MySQL, or with the server stopped use the offline tool: 'myisamchk -r table.MYI'. Always work on a copy of the .MYD/.MYI first.
How do I convert a .MYD to SQL or CSV?
Load the table into a MySQL/MariaDB server (with its .frm/.MYI), then mysqldump it to .sql or 'SELECT ... INTO OUTFILE' / Workbench export to CSV. There is no direct file converter.

References

1MySQL Reference Manual - The MyISAM Storage Enginedev.mysql.com
2MySQL Reference Manual - MyISAM Table Storage Formatsdev.mysql.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.M4AMPEG-4 Audio File
6.MDMarkdown Document
7.DATProgram Data File (generic)
8.JSONJavaScript Object Notation file
9.NOMEDIAAndroid No-Media Marker File
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.MDBMicrosoft Access Database (97-2003, Jet engine)
.FDBFirebird Database

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z