title: Is there a SQL script to restore constraints on a copied mysql database
body: <p>When cloning a mysql database, if the "Add constraints" option is included, the cloning fails.</p>
  
  <p>So I can recreate a large mysql database without the constraints, but I want an exact copy of the original database - including constraints.
  Is there a way to copy the constraints from one database to another (the cloned database)?</p>
  
  <p>I have searched and found nothing so far...</p>