I have database in MySql 5 server, but it needs ssh connection. I want to use hibernate but I don't know how to configure hibernate.cfg.xml file for connect to ssh server. Of course, I tried to find the answer in google, but I did not find anything. Also I tried use Putty, but it's also not help.
-
Do you mean that your mysql server runs over ssh?Abhinav Sarkar– Abhinav Sarkar2012-09-20 06:51:17 +00:00Commented Sep 20, 2012 at 6:51
-
Are you using SSH to tunnel and "port forward" the connection ? or are you really talking about using SSL with MySQL JDBC driver ?Darryl Miles– Darryl Miles2012-09-20 06:53:36 +00:00Commented Sep 20, 2012 at 6:53
-
Yes, I using SSH to tunnel and forward port for the connectionYury Staravoitau– Yury Staravoitau2012-09-25 12:24:35 +00:00Commented Sep 25, 2012 at 12:24
Add a comment
|