title: Connect to MySQL using JDBC driver through a proxy
body: <p>In Java, I would like to make a connection to a MySQL server which is on the web from a client computer that is behind a http proxy. I have read few solutions some say http tunnelling might work and some suggest a very old <a href="http://adalili.com/2007/04/29/connect-outside-internet-oracle-database-from-inside-intranet-through-jdbc/" rel="nofollow">link</a> from oracle which is not available anymore. So the question is:</p>
  
  <p>How can we connect to a MySQL server from a computer which is behind a http proxy?</p>