Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I connect to a database server using MySQL workbench while behind a proxy? There seems to be no setting in the workbench UI to do this.

share|improve this question

migrated from Jul 9 '11 at 5:18

This question came from our site for professional and enthusiast programmers.

Try socat (

You can create a local file socket and connect it through a proxy (HTTP or SOCKS4/4A). Something like:

socat UNIX-LISTEN:/tmp/mysql-proxy-socket,fork \


socat UNIX-LISTEN:/tmp/mysql-proxy-socket,fork \,proxyport=8888,proxyauth=user:pass
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.