Error Code: 1005. Can’t create table ‘…’ (errno: 150)
Error Code: 1005 — there is a wrong primary key reference in your code Usually it’s due to a referenced foreign key field that does not exist. It might be you have a typo mistake, or check case it should be same, or there’s a field-type mismatch. Foreign key-linked fields must match definitions exactly. Some … Read more