title: php cron jobs from cpanel is not working. No error in email
body: <p>I have uploaded a simple cron.php with insert in mySQL database.</p>
  
  <p>cron.php</p>
  
  <pre><code>#!/bin/bash
  mysql --user=[myUsernameToDatabase] --password=[myPasswordToDatabase] --database=[myDatabaseName] --execute="INSERT INTO room (room_name,room_guid) VALUES ('test', 'testing')"
  </code></pre>
  
  <p>I have added this in cpanel -> Cron Jobs</p>
  
  <p>Common Settings: one minute</p>
  
  <p>Command: <code>/usr/bin/php -q /home/myUsername/public_html/cron.php</code></p>
  
  <p>I receive email every minute with the code I added in cron jobs -> Command and no error. But nothing is added in my database.</p>
  
  <p>My test query works fine if I run it in my database</p>
  
  <pre><code>INSERT INTO room (room_name,room_guid) VALUES ('test', 'testar')
  </code></pre>