Page MenuHomePhabricator

Document PuTTY based tunneling workaround for accessing labsdb via older MySQLBench versions
Closed, ResolvedPublic

Description

Older versions of MySQL Bench are broken due to https://gerrit.wikimedia.org/r/#/c/185329 and https://gerrit.wikimedia.org/r/#/c/185321/. Workaround for this is to:

  1. Upgrade to a newer version (and someone should test to see if these work fine)
  2. Use putty to establish the ssh tunnel, and then point mysql workbench at the ssh tunnel (http://realprogrammers.com/how_to/set_up_an_ssh_tunnel_with_putty.html and similar have generic instructions)
  3. Use quarry.wmflabs.org (this only for readonly labsdb queries)

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: Cloud-Services.
yuvipanda subscribed.
yuvipanda renamed this task from Document PuTTY based tunneling workaround for accessing labsdb via ancient MySQLBench versions to Document PuTTY based tunneling workaround for accessing labsdb via older MySQLBench versions.May 21 2015, 7:16 PM
yuvipanda set Security to None.

Apparently an issue with older Paramiko versions. Possible workaround:

valhallasw: That does not work. Are there any dependencies that need to be installed?

14:01 < mutante> well the error message you had before the update was related to the ciphers
14:01 < mutante> and after the update it's just in general about opening a tunnel
14:01 < mutante> so that would mean the paramiko update fixed the cipher issue
14:03 < mutante> can you paste both error messages for me once?

14:04 < Superyetkin> first error: no kex algorithm, etc.
14:04 < Superyetkin> seconf: cannot open SSH tunnel ....

So i would say we have found out what fixes the issue with us now using different key exchange protocols: upgrading paramiko as described by valhallasw. (thanks!)

Unfortunately there is now a remaining issue with setting up the SSH tunnel. This should not be related to our recent changes but remains to be solved. We'll need some more troubleshooting on a Windows machine.

Superyetkin claimed this task.

I have got the MySQL Wokbench 5.2.24 CE to work by discarding its SSH tunneling features. One needs to establish the PuTTY-generated tunnel and select "TCP/IP" as connection method in MW. Thanks to all who helped out with this.