Well I've gotten 100+ answers to my questions on Stack Overflow, but it's time I finally registered and posted my first question!
Alright, I have a table for the users of my program and 11 tables attached to this table with 1:1 and 1:M relationships. Most of the foreign keys are set to ON UPDATE CASCADE ON DELETE RESTRICT
. If I delete the center table, it allows me to, despite the foreign keys that should be in place. When I have dealt with relational databases before, I would receive these error messages:
#1217 - Cannot delete or update a parent row: a foreign key constraint fails
#1452 - Cannot add or update a child row: a foreign key constraint fails
Now mind you, this is one time I actually want error messages. I want the functionality of a relational database and all of my tables are InnoDB. Google has not helped me with this and I could not find anything in the MySQL documentation.