PDOException: SQLSTATE[HY000] [2002] Aucun chemin d'accès pour atteindre l'hôte cible in /home/piasblnp/www/security/mysqlConnect.php:16 Stack trace: #0 /home/piasblnp/www/security/mysqlConnect.php(16): PDO->__construct('mysql:host=mysq...', 'piasblnp_pias79', 'collpauv79dj', Array) #1 /home/piasblnp/www/models/solutionControl.php(48): mysqlConnect::connexion() #2 /home/piasblnp/www/vue/menu.php(118): solutionControl->read(40) #3 /home/piasblnp/www/recherche/index.php(16): require('/home/piasblnp/...') #4 {main}
Notice: Undefined variable: db in /home/piasblnp/www/security/mysqlConnect.php on line 25

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/piasblnp/www/models/solutionControl.php:54 Stack trace: #0 /home/piasblnp/www/vue/menu.php(118): solutionControl->read(40) #1 /home/piasblnp/www/recherche/index.php(16): require('/home/piasblnp/...') #2 {main} thrown in /home/piasblnp/www/models/solutionControl.php on line 54