Re: ERROR 1005: Can't create table (errno: 150) :: InnoDB
Posted by: Bellfalasch - ()
Date: May 07, 2012 08:08AM
I created a UNSIGNED INT-field that was to be PK for table 1. In table 2 I created the FK only as an INT-field. The missed UNSIGNED-flag on the field in table 2 (holder of the FK) set me off with this error. SQL generated from Workbench 5.2.37
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.