MySQL Forums
Forum List  »  InnoDB

Re: Foreign Keys Dont Work
Posted by: KimSeong Loh
Date: January 09, 2005 07:15PM

I guess your problem is that you did not create an index on 'admission_dept' in your 'master' table.

You need to explicitly create an index on the column you reference and column being reference.

Newer version may remove this need, but I cannot recall from which version it is no longer required.

Options: ReplyQuote


Subject
Views
Written By
Posted
16894
January 06, 2005 11:34PM
2721
January 07, 2005 03:58PM
2747
January 12, 2005 01:49AM
Re: Foreign Keys Dont Work
2641
January 09, 2005 07:15PM
2653
January 10, 2005 05:02PM
2641
January 12, 2005 05:37PM


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.