Critical Error

SQLSTATE[HY000] [2002] Connection refused

PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connectors/Connector.php:55
Stack trace:
#0 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connectors/Connector.php(55): PDO->__construct('mysql:host=loca...', 'datgroup', 'DAT_group*2019', Array)
#1 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
#2 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connectors/ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector->connect(Array)
#3 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#4 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connection.php(908): call_user_func(Object(Closure))
#5 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/DatabaseManager.php(146): Illuminate\Database\Connection->getPdo()
#6 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/DatabaseManager.php(132): Illuminate\Database\DatabaseManager->refreshPdoConnections('default')
#7 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/DatabaseManager.php(197): Illuminate\Database\DatabaseManager->reconnect('default')
#8 [internal function]: Illuminate\Database\DatabaseManager->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection))
#9 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connection.php(763): call_user_func(Object(Closure), Object(Illuminate\Database\MySqlConnection))
#10 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connection.php(735): Illuminate\Database\Connection->reconnect()
#11 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connection.php(676): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure))
#12 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Connection.php(342): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure))
#13 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Query/Builder.php(1583): Illuminate\Database\Connection->select('select * from `...', Array, true)
#14 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Query/Builder.php(1569): Illuminate\Database\Query\Builder->runSelect()
#15 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Builder.php(624): Illuminate\Database\Query\Builder->get(Array)
#16 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Builder.php(316): Illuminate\Database\Eloquent\Builder->getModels(Array)
#17 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Builder.php(286): Illuminate\Database\Eloquent\Builder->get(Array)
#18 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Builder.php(167): Illuminate\Database\Eloquent\Builder->first(Array)
#19 [internal function]: Illuminate\Database\Eloquent\Builder->find('')
#20 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Model.php(3494): call_user_func_array(Array, Array)
#21 [internal function]: Illuminate\Database\Eloquent\Model->__call('find', Array)
#22 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/database/Eloquent/Model.php(3508): call_user_func_array(Array, Array)
#23 /home/datgroup/webapps/my-dat-hosting/vendor/whmcs/whmcs-foundation/lib/Language/ClientLanguage.php(0): Illuminate\Database\Eloquent\Model::__callStatic('find', Array)
#24 /home/datgroup/webapps/my-dat-hosting/vendor/whmcs/whmcs-foundation/lib/Utility/Bootstrap/Application.php(0): WHMCS\Language\ClientLanguage::factory('english', '', 'portuguese-pt', true)
#25 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/container/Container.php(731): WHMCS\Utility\Bootstrap\Application::WHMCS\Utility\Bootstrap\{closure}(Object(WHMCS\Container), Array)
#26 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array)
#27 /home/datgroup/webapps/my-dat-hosting/vendor/illuminate/support/Facades/Facade.php(217): Illuminate\Container\Container->make('lang')
#28 /home/datgroup/webapps/my-dat-hosting/init.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array)
#29 /home/datgroup/webapps/my-dat-hosting/cart.php(0): unknown()
#30 {main}