Vanilla MySQL doesn't support any sort of referential integrity. You can use "InnoDB" tables (here) that add that functionality. If you're in a shared hosting ...
Ensuring the integrity of the organization’s databases is a key component of the DBA’s job. A database is of little use if the data it contains is inaccurate or if it cannot be accessed due to ...