Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/trainadvisor/web/trainadvisor.fr/public_html/app/manager.php:12
Stack trace:
#0 /home/trainadvisor/web/trainadvisor.fr/public_html/app/manager.php(12): PDO->__construct()
#1 /home/trainadvisor/web/trainadvisor.fr/public_html/app/model.php(579): TrainAdvisor\Model\Manager::db_connect()
#2 /home/trainadvisor/web/trainadvisor.fr/public_html/src/forming/training/controllers/training.controller.php(106): TrainAdvisor\Model\Model::sql()
#3 /home/trainadvisor/web/trainadvisor.fr/public_html/src/forming/routes.php(49): TrainAdvisor\Controller\TrainingController->search()
#4 [internal function]: {closure}()
#5 /home/trainadvisor/web/trainadvisor.fr/public_html/router/route.php(77): call_user_func_array()
#6 /home/trainadvisor/web/trainadvisor.fr/public_html/router/router.php(58): TrainAdvisor\Router\Route->call()
#7 /home/trainadvisor/web/trainadvisor.fr/public_html/index.php(62): TrainAdvisor\Router\Router->listen()
#8 {main}
thrown in /home/trainadvisor/web/trainadvisor.fr/public_html/app/manager.php on line 12