Bug #2194 | Foreign key restraints not working in 4.1.0 | ||
---|---|---|---|
Submitted: | 22 Dec 2003 16:10 | Modified: | 22 Dec 2003 22:40 |
Reporter: | Sean Canaday | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S1 (Critical) |
Version: | 4.1.0 | OS: | Windows (Windows 2000) |
Assigned to: | CPU Architecture: | Any |
[22 Dec 2003 16:10]
Sean Canaday
[22 Dec 2003 22:40]
Alexander Keremidarski
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL. Additional info: Your statements are correct, but I can't reproduce your problem. Check if InnoDB is enabled and if tables you create are of InnoDB type. SHOW CREATE TABLE parent; SHOW CREATE TABLE child; If InnoDB is disabled MySQL will silently accept your statements and will create MyISAM which don't support Foreign Keys By the way upgrade to 4.1.1