title: How do you force a MySQL command from the command line to not prompt y/n?
body: <p>I have a shell script that does the following</p>
  
  <pre><code>mysql -uuser -ppass -e "DROP DATABASE IF EXISTS database"
  </code></pre>
  
  <p>However, this brings up a prompt if you're sure you want to do that [Y/N]. I need this in a script so is there a way to force it execute? <code>--force</code> option in documentation talks about not stopping for errors.</p>
  
  <p>EDIT: <code>mysql</code> client in fact does not generate prompt. It turns out I had <code>mysqladmin</code> client call that was generating the prompt.</p>