( ! ) 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.0003402248{main}( ).../index.php:0
20.06561238584IndexView->__construct( ).../index.php:10
30.06561238584View->__construct( ).../IndexView.php:10
40.06561238584Okay->__get( $name = 'settings' ).../View.php:32
50.06601261520Settings->__construct( ).../Okay.php:150
60.06671296800Settings->init_settings( ).../Settings.php:17
70.06671296800Settings->__get( $param = 'db' ).../Settings.php:65
80.06671296800Okay->__get( $name = 'db' ).../Settings.php:21
90.07751369952Database->__construct( ).../Okay.php:150
100.07751370008Database->connect( ).../Database.php:17
110.07771370496trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ).../Database.php:42