So, I am trying to make a website that uses PDO to access a MySQL server for registering accounts and logging in etc. However, whenever I try to connect to the MySQL server I get this error: Error when a connection attempt is made
I've allowed friends to attempt to access the database too and they are able to without any difficulties.
Here's what my code looks like: Code (Scribbles is my password)
Any help at all would be appreciated.