All datasets

MySQL Data Types

MySQL data types and descriptions of the values they store.

Download options

The records

10 of 34 records · Select a column heading to sort.

ID Data type Description
1 CHAR(size) A FIXED length string (can contain letters, numbers, and special characters). The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1
2 VARCHAR(size) A VARIABLE length string (can contain letters, numbers, and special characters). The size parameter specifies the maximum column length in characters - can be from 0 to 65535
3 BINARY(size) Equal to CHAR(), but stores binary byte strings. The size parameter specifies the column length in bytes. Default is 1
4 VARBINARY(size) Equal to VARCHAR(), but stores binary byte strings. The size parameter specifies the maximum column length in bytes.
5 TINYBLOB For BLOBs (Binary Large OBjects). Max length: 255 bytes
6 TINYTEXT Holds a string with a maximum length of 255 characters
7 TEXT(size) Holds a string with a maximum length of 65,535 bytes
8 BLOB(size) For BLOBs (Binary Large OBjects). Holds up to 65,535 bytes of data
9 MEDIUMTEXT Holds a string with a maximum length of 16,777,215 characters
10 MEDIUMBLOB For BLOBs (Binary Large OBjects). Holds up to 16,777,215 bytes of data

Scope and sources

Last checked against sources: October 15, 2026.

Last changed: July 17, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

A complete download includes all 34 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/mysqldatatypes

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

Without a pass, sorting and randomization apply only to the fixed 10-row sample.

More in Technology

Country-Code Top-Level Domains HTTP Status Codes Microsoft Access Data Types SQL Keywords MIME Types Programming Languages

Download a category with your pass