Echec de la connexion
SQLSTATE[HY000] [2002] No such file or directory
object(PDOException)#3 (8) { ["message":protected]=> string(48) "SQLSTATE[HY000] [2002] No such file or directory" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(2002) ["file":protected]=> string(60) "/home/alexisduvr/mantell/epsi/B3-Workshop-1/Classes/Pdom.php" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(3) { [0]=> array(6) { ["file"]=> string(60) "/home/alexisduvr/mantell/epsi/B3-Workshop-1/Classes/Pdom.php" ["line"]=> int(17) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(42) "mysql:host=localhost;dbname=alexisduvrword" [1]=> string(14) "alexisduvrword" [2]=> string(12) "Avyoword1337" } } [1]=> array(6) { ["file"]=> string(60) "/home/alexisduvr/mantell/epsi/B3-Workshop-1/Classes/Pdom.php" ["line"]=> int(41) ["function"]=> string(11) "__construct" ["class"]=> string(4) "Pdom" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(53) "/home/alexisduvr/mantell/epsi/B3-Workshop-1/index.php" ["line"]=> int(21) ["function"]=> string(6) "getPdo" ["class"]=> string(4) "Pdom" ["type"]=> string(2) "::" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(2002) [2]=> string(25) "No such file or directory" } }