Connect using PHP PDO to mysql database failed
I’m using a droplet with Ubuntu 12.04 (32bits) and after installing LAMP into this droplet I cannot access from a php file to my database using the admin user from the site.
I updated my host, username and password to connect but I don’t know If I forgot any command or related tip.
The connection always return not successfull.
I great any notice about this error.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.