MySQL Forums
Forum List  »  MySQL Workbench

Re: Failed to connect to MySQL Server with Java Spring Boot
Posted by: Marko Askovic
Date: June 04, 2020 07:44AM

I have added allowPublicKeyRetrieval=true to spring.datasource.url.

Now the Spring Boot app connects to the database also before I have done the connection using MySQL WorkBench.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Failed to connect to MySQL Server with Java Spring Boot
1462
June 04, 2020 07:44AM


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.