Bug #69507 Request for post ssh "init" commands in MySQL workbench
Submitted: 18 Jun 2013 22:57 Modified: 20 Jun 2013 19:40
Reporter: Brandon Johnson Email Updates:
Status: Verified Impact on me:
Category:MySQL Workbench Severity:S4 (Feature request)
Version:6.0.2 beta+ OS:Any
Assigned to: CPU Architecture:Any

[18 Jun 2013 22:57] Brandon Johnson
The Workbench already has connectivity for "TCP/IP over SSH".

This allows one to connect to remote servers using TCP/IP. A workaround exists to be able to connect to remote servers using Unix Socket via some socket-port forwarding (see https://blog.mozilla.org/it/2013/06/18/mysql-workbench-with-unix-socket-only-servers/)

It would be really nice to have a feature that would allow a user to setup a "post ssh 'init'" commands, which happen post the ssh handshake, but pre-mysql connection attempt.

In this scenario, the connection would work similar to the below:

- SSH auth request
- SSH auth received, ssh connection established.
- "init" commands are executed by mysql workbench
- mysql auth connect request
- mysql auth received, mysql connection established.

It would allow the workaround described in the link above to be used without actually opening a separate ssh session to the server.


How to repeat:
Put ssh "init" commands in the connection parameters box of the connection configuration.

During connection, these commands are executed on the host server post ssh connect and pre-mysql connect.
[20 Jun 2013 19:40] Alfredo Kojima
Thank you for filing the feature request.