How to fix 'Cannot access empty property' when visiting admin/reports/databasereport? Fatal error: Cannot access empty property in /home/public_html/sites/all/modules/dba/database/mysql.report.inc on
  line 44


I get the above fatal error on a WSD when clicking on /admin/reports/databasereport  (using Drupal version 7.22).

Any idea what it means and how to fix it?
I haven't used the Database Administration module before but when i looked on the line 44 of that module and I found that:

$value = new stdClass();
$query = db_query('SHOW GLOBAL STATUS');
foreach ($query as $row) {
  $column = $row-&gt;variable_name;
  $value-&gt;$column = $row-&gt;value;
}
return $value;


It means you can't fetch the data from 'SHOW GLOBAL STATUS' SQL statement. So i think maybe your current MYSQL account didn't have right to do that.