title: SSH tunneling with JDBC on Mac OS X - Problems
body: <p>I am currently developing a java application that uses JDBC inorder to connect to MySQL on a computer running Mac OS 10.6.7. The server that I connect to suddenly decided to use SSH. I've managed to connect to the database using MySQLWorkbench so there is nothing wrong with the connection. </p>
  
  <p>My next attempt was to start the terminal and type ssh username@sshserver.com -L 3305:databaseserver:3306 and then start Eclipse and run my application. The terminal prompted me for my password but JDBC could not connect. I tried SSH Tunnel Manager with the following settings: <a href="http://imageshack.us/photo/my-images/146/sshb.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/146/sshb.jpg/</a> and it also prompts me for the password and then gives a green light. Still no success. The application worked fine before when i just connected without SSH. I would be very grateful for any help, I googled and tested every suggestion I found but nothing worked.</p>