Jump to content

Recommended Posts

Posted
Hello, I'm having a problem with my remote connection to MySql.
Error: MySqlException: Access denied for user 'purepast_root'@'201.17.240.159' (using password: YES)

 

Posted

Did you add that IP to the remote mysql list in cPanel? If not, you need to do so before it will work.

 

Also, does a user named purepast_root exist? The default username for mysql on your account is your cPanel username. If you didn't explicitly create it, you should either use your cPanel username (purepast), or create a DB user named purepast_root and assign it to the database.

Posted

That first screen shot is wrong. It needs to have the source hostname or IP where your program is (not the destination server), added. You need to add 201.17.240.159 to that list.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...