From 13ceb939cc5dec5ecab6de1bc0640fb50999cedc Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Wed, 8 Mar 2023 09:45:47 -0500 Subject: [PATCH] take out of try/catch for debugging --- php/libraries/Database.class.inc | 5 +++++ 1 file changed, 5 insertions(+) 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",