MySQL Forums
Forum List  »  InnoDB

Re: Foreign key constraints
Posted by: chob
Date: February 26, 2005 03:00AM

I am using MySQL v4.1.9, and my foreign key constraints work, even the cascading features work. I think the problem with the original posters code is he is missing indexes on his foreign keys. Add a index('foreignkeyfield') field for all tables that have foreign keys.

Options: ReplyQuote


Subject
Views
Written By
Posted
z
5411
February 12, 2005 12:40AM
2839
February 12, 2005 05:48PM
2659
February 17, 2005 07:20AM
2649
February 17, 2005 08:06AM
2680
February 17, 2005 10:38AM
Re: Foreign key constraints
2594
February 26, 2005 03:00AM


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.