I have been working with mysql for accessing some database but now when I try to login I get the error "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)". How can this issue be resolved?
Asked
Active
Viewed 51 times
0
-
Try look at: https://stackoverflow.com/questions/21944936/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-y Are you dealing with web applications? In that case, make sure that your database config file is properly structured and has the correct info in it. – Martin Aug 28 '18 at 07:08
-
Do you give GRANT access to the user? https://kyup.com/tutorials/create-new-user-grant-permissions-mysql/ – Roy Bogado Aug 28 '18 at 07:46
-
@Martin - I have gone through it. It doesn't work. I don't want to reinstall mysql. Is there any other way? – Anand Nautiyal Aug 28 '18 at 07:55
-
@Roy - How can I grant the permisiions when I am not even able to login? – Anand Nautiyal Aug 28 '18 at 07:56
-
Do it from you cPanel – Roy Bogado Aug 28 '18 at 08:44
-
@Roy - How can I access cPanel? – Anand Nautiyal Aug 28 '18 at 09:23
-
search same thing on google please. – Roy Bogado Aug 28 '18 at 09:25