diff --git a/php/libraries/Database.class.inc b/php/libraries/Database.class.inc index d00995a7a93..905f027c1ca 100644 --- a/php/libraries/Database.class.inc +++ b/php/libraries/Database.class.inc @@ -108,6 +108,11 @@ class Database implements LoggerAwareInterface } + $this->_PDO = new PDO( + "mysql:host=$host;dbname=$database;charset=UTF8", + $username, + $password + ); try { $this->_PDO = new PDO( "mysql:host=$host;dbname=$database;charset=UTF8",