I was wondering how I'd connect to a remote database if I'm behind a proxy using Java.

The ip would be something like port 3306.

I have a local copy of the database and they need to be in sinc.
The database I'm using is MySQL and the driver is mm.mysql.

Please not that that isn't the actual IP address.