This is usually a terrible idea, but sometimes you want to do it. For example, say you want to just purge a lot of data without worrying about foreign key constraints, because the table restricting your delete is also going to be purged.

You can disable foreign key checks with the following command:

... Read more