Error connecting to database - check your database connection properties in constants.php file

SQLSTATE[HY000] [2002] Connection refused
PHP Version : 7.0.22

Warning: PDO::prepare(): SQLSTATE[00000]: No error: PDO constructor was not called in /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Configs.php on line 15

Fatal error: Uncaught Error: Call to a member function execute() on null in /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Configs.php:16 Stack trace: #0 /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Session.php(491): Configs->getConfig('TRACK_VISITORS') #1 /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Session.php(75): Session->addActiveGuest('54.81.2.151', 1503282552) #2 /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Session.php(35): Session->startSession() #3 /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/controller.php(25): Session->__construct(Object(Database)) #4 /home/goonies/public_html/HandymanJack-LOGIN/admin/login.php(2): include('/home/goonies/p...') #5 {main} thrown in /home/goonies/public_html/HandymanJack-LOGIN/admin/includes/Configs.php on line 16