( ! ) 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.0389403368{main}( ).../index.php:0
20.09191239544IndexView->__construct( ).../index.php:10
30.09191239544View->__construct( ).../IndexView.php:10
40.09191239544Okay->__get( $name = 'settings' ).../View.php:32
50.09221262480Settings->__construct( ).../Okay.php:150
60.11221297760Settings->init_settings( ).../Settings.php:17
70.11221297760Settings->__get( $param = 'db' ).../Settings.php:65
80.11221297760Okay->__get( $name = 'db' ).../Settings.php:21
90.11331370912Database->__construct( ).../Okay.php:150
100.11331370968Database->connect( ).../Database.php:17
110.11351371456trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ).../Database.php:42