MySQL Forums
Forum List  »  InnoDB

Re: errno 150 - foreign key problems
Posted by: KimSeong Loh
Date: October 07, 2008 05:55PM

Index cannot be longer than about 1000 bytes (cannot remember the exact number)
If you have 1500, that exceed the max index size, and foreign key constraints require the columns to be indexed. You also need to create an index on the column in the referenced table.

Options: ReplyQuote


Subject
Views
Written By
Posted
58908
June 09, 2006 03:50PM
9710
December 07, 2006 07:28AM
Re: errno 150 - foreign key problems
6244
October 07, 2008 05:55PM


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.