mysql proxy socks

后端 未结 3 404
暗喜
暗喜 2020-12-11 05:15

Plain and simple, can anyone explain me how to connect to a mysql server through a proxy (socks4/5). Preferable via the mysql command line (although there are no options fo

3条回答
  •  青春惊慌失措
    2020-12-11 05:43

    All you need is to install and configure tsocks (transparent socks). It's available in most if not all linux distibutions. Afterwards you only need to prefix your command with 'tsocks', for example: tsocks mysql -h -P .....

提交回复
热议问题