Mysql Error

Permalink
Hi Folks,

I'm using the Concrete5 - 5.7.5.2 and i can't enable sql debug

with this
Database::setDebug(true);
$db = Loader::db();

or this
$db = Loader::db();
$db->setDebug(true);

i get a php error.

Any ideas ?