Bug #58930 MySQL Workbench 5.2.31 cannot connect to DB
Submitted: 14 Dec 2010 21:48 Modified: 14 Dec 2010 21:56
Reporter: Nicolas Owens Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.31 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: MySQL Workbench, workbench

[14 Dec 2010 21:48] Nicolas Owens
I am trying to connect to a remote MySQL DB through an SSH tunnel created with PuTTy. The remote host's mysql server is listening on, and my tunnel is set up from to I try to open a connection in MySQL Workbench to, and a dialog box says 'Lost connection to MySQL server at 'reading initial communications packet', system error: 0'.

On another note, I'd use the built-in ssh feature but attemping that results in another error dialog: 'Cannot open SSH Tunnel: Error calling TunnelManager:open_tunnel'.

How to repeat:
Download MySQL Workbench 5.2.31 x86 installer for windows at mysql.com
Set up SSH tunnel with putty to remote host running mysqld
attempt to connect to mysqld through ssh tunnel with MySQL workbench
[14 Dec 2010 21:56] Nicolas Owens
Fixed, it was typo. *hangs head in shame*
[16 Dec 2010 8:07] Susanne Ebrecht
Hello Nicolas,

good to see that the solution was so easy.

Anyway, thanks for reporting it.