PDOException Object
(
[message:protected] => SQLSTATE[HY000] [2002] Connection refused
[string:Exception:private] =>
[code:protected] => 2002
[file:protected] => /home/ocams/public_html/php/sql/lib/db.php
[line:protected] => 36
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/ocams/public_html/php/sql/lib/db.php
[line] => 36
[function] => __construct
[class] => PDO
[type] => ->
)
[1] => Array
(
[file] => /home/ocams/public_html/php/sql/lib/db.php
[line] => 170
[function] => __construct
[class] => DB
[type] => ->
)
[2] => Array
(
[file] => /home/ocams/public_html/model/chat.php
[line] => 5
[args] => Array
(
[0] => /home/ocams/public_html/php/sql/lib/db.php
)
[function] => require
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 2002
[2] => Connection refused
)
)