Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Core/Database.php:31
Stack trace:
#0 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Core/Database.php(31): PDO->__construct()
#1 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Core/Database.php(13): Database->connect()
#2 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Core/Database.php(47): Database->__construct()
#3 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Repositories/CompanyRepository.php(10): Database::getInstance()
#4 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Controllers/CompanyController.php(9): CompanyRepository->__construct()
#5 /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/public/company_action.php(19): CompanyController->__construct()
#6 {main}
thrown in /var/www/vhosts/fpgestion.es/leadbuilder.fpgestion.es/app/Core/Database.php on line 31