MySQL Forums
Forum List  »  Install & Repo

MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Posted by: willians nogueira
Date: October 29, 2018 01:14PM

I can't make the connection between my java application and Mysql 8.

I didn't change anything in my java program and the connection worked perfectly with Mysql 5 version.

I did everything in the command line like "Grant all privileges ..." as recommended in this forum and others sites in google and even thougth no success was obtained.

I was using user : "root" and password "root" like always did.

But when I enter Mysql via Toad framework using the above user and password, I could make the connection.

But not with my java application, from where I received the message : "MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) "

Could anyone tell my whatelse to do, please ?

Thanks

Options: ReplyQuote


Subject
Written By
Posted
MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
October 29, 2018 01:14PM
January 06, 2019 07:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.