MySQL Error 1005 – ER_CANT_CREATE_TABLE

MySQL Error Message

Can’t create table ‘%s’ (errno: %d – %s)

Reason for the Error

InnoDB reports this error when a table cannot
be created. If the error message refers to error 150, table
creation failed because a
foreign key
constraint was not correctly formed. If the error message
refers to error −1, table creation probably failed because
the table includes a column name that matched the name of an
internal InnoDB table.