There was an error connecting to the database.PDOException Object ( [message:protected] => SQLSTATE[HY000] [2002] Connection refused [string:Exception:private] => [code:protected] => 2002 [file:protected] => /var/www/vector-templates.com/public_html/classes/DB.class.php [line:protected] => 16 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vector-templates.com/public_html/classes/DB.class.php [line] => 16 [function] => __construct [class] => PDO [type] => -> ) [1] => Array ( [file] => /var/www/vector-templates.com/public_html/classes/DB.class.php [line] => 33 [function] => __construct [class] => MyPDO [type] => -> ) [2] => Array ( [file] => /var/www/vector-templates.com/public_html/config.inc.php [line] => 50 [function] => instance [class] => MyPDO [type] => :: ) [3] => Array ( [file] => /var/www/vector-templates.com/public_html/index.php [line] => 12 [args] => Array ( [0] => /var/www/vector-templates.com/public_html/config.inc.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => )