Error code

MySQL 1064

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

What it means

SQL syntax error — the query contains invalid SQL.

How to fix it

  1. Read the error message's near '...' hint to locate the problem.
  2. Use a SQL formatter or the MySQL Workbench query editor to identify the problematic clause.
  3. Check for reserved words used as identifiers without backtick quoting.

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