.MYD

Файл MYD

MySQL MyISAM Table Data File
Задать вопрос
БЫСТРЫЙ ОТВЕТ

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.

Разработчик: MySQL AB / Oracle Corporation (MyISAM engine; originally based on ISAM) Категория: Файлы баз данных MIME: application/octet-stream
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .DB · .DBF · .ACCDB · .SQL

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 27, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла MYD?

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.

Безопасность и защита

РИСК: 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.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕMySQL MyISAM Table Data Fileтакже известен как MyISAM data file, MySQL .MYD file
РАЗРАБОТЧИКMySQL AB / Oracle Corporation (MyISAM engine; originally based on ISAM)с 2001 (MyISAM became the default MySQL engine in MySQL 3.23)
MIME-ТИПapplication/octet-stream
ТИПBinary row-data file for one MyISAM table (records, no indexes, no schema)
СВЯЗАННЫЕ.db.dbf.accdb.sql

Программы, открывающие файлы MYD

Windows4 apps
MySQL Workbench Открытый код 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 Открытый код 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 Открытый код 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) Открытый код 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 Открытый код 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 Открытый код 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) Открытый код Repair a damaged MyISAM table offline: 'myisamchk --recover table.MYI'. Stop the server first and work on a copy.

Технические подробности

глубокая спецификация
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)
Выпущен2001 (MyISAM became the default MySQL engine in MySQL 3.23)
Последняя версияStill produced by any MySQL/MariaDB table using ENGINE=MyISAM (legacy default before InnoDB took over in MySQL 5.5, 2010)
Спецификацияdev.mysql.com

Конвертации MYD

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами MYD. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах MYD.

Часто задаваемые вопросы

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.

Ссылки

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

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

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

Похожие расширения

.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

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z