Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Jul 9 '11 at 5:18

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

1 Answer 1

Try socat (http://www.dest-unreach.org/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 \
share|improve this answer

Your Answer


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