title: How to delete rows recursively (i.e. also deleting foreign key linked rows) in MySQL?
body: <p>I use Constraints in my MySQL Database. But now it gives me a headache when I try to delete an entry on which other entries have a foreign-key relationship. I always get this error:</p>
  
  <pre><code>Cannot delete or update a parent row: a foreign key constraint fails
  </code></pre>
  
  <p>Can I pass the delete-statement any parameter or anything, so that it recursivly deletes all rows that have a foreign-key relationship to the row I'm trying to delete?</p>