title: Bash script create database
body: <p>I've created a bash script to install Wordpress locally and create the database on my local machine.</p>
  
  <p>This part should normally create the database</p>
  
  <pre><code>mysql -u $dbuser -p $dbpass "create database '$dbname'"
  </code></pre>
  
  <p>But I getting this error:</p>
  
  <pre><code>mysql: command not found
  </code></pre>
  
  <p>What am I doing wrong over here?</p>