( ! ) Fatal error: Could not connect to the database: Connection refused in /home/restserv/public_html/api/Database.php on line 42
Call Stack
#TimeMemoryFunctionLocation
10.0004403400{main}( ).../index.php:0
20.01231239536IndexView->__construct( ).../index.php:10
30.01231239536View->__construct( ).../IndexView.php:10
40.01231239536Okay->__get( $name = 'settings' ).../View.php:32
50.01271262472Settings->__construct( ).../Okay.php:150
60.01331297752Settings->init_settings( ).../Settings.php:17
70.01341297752Settings->__get( $param = 'db' ).../Settings.php:65
80.01341297752Okay->__get( $name = 'db' ).../Settings.php:21
90.01411370904Database->__construct( ).../Okay.php:150
100.01411370960Database->connect( ).../Database.php:17
110.01431371448trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ).../Database.php:42