Re: Sha256 Athentication Plugin
Posted by: Ralph Loser
Date: November 27, 2014 05:02AM

Hello everybody,

Jess provided a solution for me which actually works and which I want to share with yo folks.

First of all, you have to configure your mysql- server as it is mentioned here:
http://dev.mysql.com/doc/refman/5.6/en/sha256-authentication-plugin.html

Next thing to do is to setup your connection string for the jdbc connection properly. You can achieve this by adding:
&authenticationPlugins=com.mysql.jdbc.authentication.Sha256PasswordPlugin&allowPublicKeyRetrieval=true
to your connection string.
Of course you have to set your username and password as you put it into the database in the first step.

This made my day thanks to jess!

Hope this helps somebody who stumbles over the same issue as I did.

Happy coding!

Options: ReplyQuote


Subject
Written By
Posted
November 12, 2014 01:43AM
November 13, 2014 01:30AM
November 14, 2014 11:26AM
November 14, 2014 11:24AM
Re: Sha256 Athentication Plugin
November 27, 2014 05:02AM


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.