Error code

MySQL 1264

MYSQL1264
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

Out of range value for column — a number exceeds the column's storage type.

How to fix it

  1. Change the column type to a wider integer or decimal type with ALTER TABLE.
  2. Add application-layer range validation before writing values to the database.
  3. Audit the data source for unit mismatches that produce unexpectedly large numbers.

Not affiliated with MySQL. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.