MySQL Error 1366: Incorrect string value for column (4-byte Emoji / UTF-8)
Table uses legacy 3-byte `utf8`/`utf8mb3` instead of full 4-byte `utf8mb4`.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.0.0
Identifier: MySQL Error 1366: Incorrect string value for column (4-byte Emoji / UTF-8)
Platform: MySQL / MariaDB
Interactive Diagnostic Checklist
Safe Diagnostic Command:
SHOW CREATE TABLE <table_name>;
Technical Explanation
Table uses legacy 3-byte `utf8`/`utf8mb3` instead of full 4-byte `utf8mb4`. Verified technical resolution: Convert database/table/connection charset to `utf8mb4` with `utf8mb4_0900_ai_ci`.
Worked Examples
- Diagnostic check: SHOW CREATE TABLE <table_name>;
Limitations & Assumptions
- Confirm exact software version and execution layer before applying configuration changes in production.
Source References & Verification
Resource ID: err-mysql-1366-incorrect-string-utf8mb4 · Independently verified: 2026-11-25