Salut, je souhaite connecter a base de donnée mais j'ai une erreur, aidez moi svp
Je suis sûr a 99% de mes identifiants
thio175_alsa c'est le user, motdepasse c'est le password et ba BDD est thio175_alsacienne (host = x.x.org)
Le user a TOUS les droits, et j'ai en plus ajouté l'adresse IP du site dans mon panel (remote access) autorisant ainsi les échanges avec ma BDD.
erreur :
code :Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'thio175_alsa'@'x.x.org' (using password: YES)' in /home1/thio175/public_html/creer.php:14 Stack trace: #0 /home1/thio175/public_html/creer.php(14): PDO->__construct('mysql:host=x...', 'thio175_alsa', 'motdepasse') #1 {main} thrown in /home1/thio175/public_html/creer.php on line 14
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part $pdo = new PDO('mysql:host=x.x.org;dbname=thio175_alsacienne', 'thio175_alsa', 'motdepasse');
Partager