( ! ) 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.0004402328{main}( ).../index.php:0
20.00941238704IndexView->__construct( ).../index.php:10
30.00951238704View->__construct( ).../IndexView.php:10
40.00951238704Okay->__get( $name = 'settings' ).../View.php:32
50.00981261640Settings->__construct( ).../Okay.php:150
60.01041296920Settings->init_settings( ).../Settings.php:17
70.01041296920Settings->__get( $param = 'db' ).../Settings.php:65
80.01041296920Okay->__get( $name = 'db' ).../Settings.php:21
90.01141370072Database->__construct( ).../Okay.php:150
100.01141370128Database->connect( ).../Database.php:17
110.01161370616trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ).../Database.php:42