If MySQL reports an error number 1005 from a CREATE TABLE statement, and the error message refers to error 150, table creation failed because a foreign key constraint was not correctly formed.
Ok, so I am creating tables in MySQL with indexes and foreign keys. I use MySQL Workbench to create the …
mysql database-design mysql-error-1005So I'm attempting to add a new foreign key to one of my tables as such: ALTER TABLE `UserTransactions`.`ExpenseBackTransactions` …
mysql foreign-keys mysql-error-1005