Re: MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Posted by: Filipe Silva
Date: November 30, 2018 10:36AM

Hi Willians,

Something doesn't add up here. There's now way this would work if you concatenate "?useTimezone=true&serverTimezone=UTC" to your password. I mean, unless the password actually is "root?useTimezone=true&serverTimezone=UTC" but I suspect that's not the case.

Didn't you mean that you create the connections with the following line of code?

"conn=DriverManager.getConnection(url + "?useTimezone=true&serverTimezone=UTC", user, password);"


What was the error you say you fixed with this concatenation?

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
November 30, 2018 10:36AM


Sorry, only registered users may post in this forum.

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.