Error code

MySQL 1050

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

What it means

Table already exists — CREATE TABLE failed because the name is taken.

How to fix it

  1. Use CREATE TABLE IF NOT EXISTS to skip creation silently when the table exists.
  2. Drop or rename the existing table first if a fresh schema is intended.
  3. Check migration scripts for idempotency issues that cause CREATE TABLE to run more than once.

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