title: Warning: mysqli_connect(): (HY000/1049): Unknown database in mac terminal only
body: <p>in mac i want to create cronjob but when i run the php file with database i am getting error in terminal.</p>
  
  <pre><code>Warning: mysqli_connect(): (HY000/1049): Unknown database 
  </code></pre>
  
  <p>And In the browser run perfect.</p>