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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...