Click here to Skip to main content
15,920,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Help me please!
I always encounter this error whenever I connect to mysql:
Authentication to host 'website' for user 'username' using method 'mysql_native_password' failed with message: Access denied for user 'username'@'ip address' (using password: YES)

what should I do?
I already granted the user using cPanel. How can I solve this?
thanks in advance!

Did you perform a FLUSH PRIVILEGES on your mysql server after granting ?
Forgetting that is a common source for this kind of problem.
Share this answer
I already got it!
I just set a remote access privilege in cPanel.
But thanks anyway.:))
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900