( ! ) 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.0004403272{main}( ).../index.php:0
20.26671239408IndexView->__construct( ).../index.php:10
30.26671239408View->__construct( ).../IndexView.php:10
40.26671239408Okay->__get( $name = 'settings' ).../View.php:32
50.26701262344Settings->__construct( ).../Okay.php:150
60.26751297624Settings->init_settings( ).../Settings.php:17
70.26751297624Settings->__get( $param = 'db' ).../Settings.php:65
80.26751297624Okay->__get( $name = 'db' ).../Settings.php:21
90.26811370776Database->__construct( ).../Okay.php:150
100.26811370832Database->connect( ).../Database.php:17
110.26831371320trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ).../Database.php:42