title: Mysql - Drop table if exists not working
body: <p>I try to use the following code to empty a database (delete all tables) :</p>
  
  <pre><code>SELECT concat('DROP TABLE IF EXISTS ','`',table_schema,'`','.','`',table_name,'`',';') FROM information_schema.tables WHERE table_schema = 'DB';
  </code></pre>
  
  <p>I am getting an output of the commands, but nothing happens to the database. If I take an individual command from the output, and run it in the console, it works.</p>
  
  <p>What am I doing wrong? </p>