Exception Object
(
[message:protected] => PDOException: SQLSTATE[HY000] [2002] Connection refused in /home2/castlight/public_html/engine/database.inc.php:145
Stack trace:
#0 /home2/castlight/public_html/engine/database.inc.php(145): PDO->__construct('mysql:host=loca...', 'castligh_castli...', 'Light~1234')
#1 /home2/castlight/public_html/engine/environment.php(50): DATABASE::INIT('localhost', 'mysql', 'castligh_castli...', 'castligh_castli...', 'Light~1234')
#2 /home2/castlight/public_html/index.php(2): include('/home2/castligh...')
#3 {main}
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home2/castlight/public_html/engine/database.inc.php
[line:protected] => 157
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home2/castlight/public_html/engine/environment.php
[line] => 50
[function] => INIT
[class] => DATABASE
[type] => ::
[args] => Array
(
[0] => localhost
[1] => mysql
[2] => castligh_castlight_com_au
[3] => castligh_castlig
[4] => Light~1234
)

)

[1] => Array
(
[file] => /home2/castlight/public_html/index.php
[line] => 2
[args] => Array
(
[0] => /home2/castlight/public_html/engine/environment.php
)

[function] => include
)

)

[previous:Exception:private] =>
)
There was a problem connecting to the database.