Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 530000

Summary: dev-db/mysql-workbench-6.2.3 - Error connecting to mysql through SSH tunnel
Product: Gentoo Linux Reporter: Paulo Calvo <paulo.calvo>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://launchpad.net/bugs/1385147
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 531114    
Bug Blocks:    

Description Paulo Calvo 2014-11-20 22:57:41 UTC
The following error is received while trying to access a mysql database using mysql-workbench-6.2.3 through an ssh tunnel:

Tunnel error: Remote connection to 127.0.0.1:3306 failed: AttributeError("'Transport' object has no attribute 'window_size'",)

I found the same bug reported in launchpad (https://bugs.launchpad.net/ubuntu/+source/mysql-workbench/+bug/1385147) and it includes a comment with a patch (http://anonscm.debian.org/cgit/collab-maint/mysql-workbench.git/tree/debian/patches/paramiko.patch?id=206bf85ccc1b884b1542c04aded1cde3998bfa4f) which worked in my system through a local overlay.

I would like to ask that this patch is reviewed upstream and if possible included in portage.

Reproducible: Always

Steps to Reproduce:
1. Create a new connection in mysql-workbench that includes an ssh tunnel
2. Save the connection
3. Connect
Comment 1 Paulo Calvo 2014-11-20 23:01:51 UTC
Please bare with me if this is not the proper channel to do this or if this needs to from from upstream
Comment 2 Hans de Graaff gentoo-dev Security 2014-11-27 07:34:32 UTC
It looks like this is already fixed in mysql-workbench 6.2.4: http://dev.mysql.com/doc/relnotes/workbench/en/wb-news-6-2-4.html

I'll try to add that shortly.
Comment 3 Hans de Graaff gentoo-dev Security 2015-02-15 15:58:01 UTC
I've backported this to mysql-workbench 6.2.3.