title: Drop all databases in MySQL
body: <p>We have many databases in our MySQL and we want to <a href="https://stackoverflow.com/questions/3456159/how-to-shrink-purge-ibdata1-file-in-mysql">shrink/purge ibdata1 file in MySQL</a>.</p>
  
  <p>How can we drop all the databases from the MySQL except <code>information_schema</code> and <code>mysqld</code> 
  databases?</p>