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
17121
January 06, 2005 11:34PM
2797
January 07, 2005 03:58PM
2812
January 12, 2005 01:49AM
Re: Foreign Keys Dont Work
2730
January 09, 2005 07:15PM
2728
January 10, 2005 05:02PM
2723
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.