diff --git a/lib/DatabaseStatistics.php b/lib/DatabaseStatistics.php index 50abfa81..a604a348 100644 --- a/lib/DatabaseStatistics.php +++ b/lib/DatabaseStatistics.php @@ -93,7 +93,7 @@ protected function databaseSize() { switch ($this->config->getSystemValue('dbtype')) { case 'mysql': $db_name = $this->config->getSystemValue('dbname'); - $sql = 'SHOW TABLE STATUS FROM ' . $db_name; + $sql = 'SHOW TABLE STATUS FROM `' . $db_name . '`'; $result = $this->connection->executeQuery($sql); $database_size = 0; while ($row = $result->fetch()) {