title: Delete all foreign keys in database(MySql)
body: <p>I would like to rename a column in a table that is a foreign key to many tables. Apparently this is only possible if you delete the constraints, as I found out in this <a href="https://stackoverflow.com/questions/2014498/renaming-foreign-key-columns-in-mysql/2014519#2014519">link</a>.</p>
  
  <p>I dont want to delete all the constratints manually is there a way to delete all the foreign key constraints in the database?</p>
  
  <p>I have also tried <code>SET FOREIGN_KEY_CHECKS=0;</code> but I still cant rename the column.</p>