How to Resolve ERROR 1005 (HY000): Can't create table 'table_name' (errno: 150)
ERROR 1005 (HY000) Met a MySQL error 1005 when trying to create a foreign key constraint as following: mysql> ALTER TABLE sales ADD CONSTRAINT parent_id_fk… Read More »How to Resolve ERROR 1005 (HY000): Can't create table 'table_name' (errno: 150)