Bug #75745 mysql workbench can not connect "bad handshake"

Submitted: 3 Feb 2015 12:17 Modified: 5 Mar 2015 23:21
Reporter: Hilmi Erdem KEREN Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.2 OS:Linux (Ubuntu 12.04 (elemos))
Assigned to: CPU Architecture:Any
Tags: bad handshake

[3 Feb 2015 12:17] Hilmi Erdem KEREN
Description:
Trying to connect to a server which is connectible using bash interface.

However, when I try to connect with the same credentials from workbench, It says "bad handshake".

To see more info, I tried to connect from different UI windows and I found 

" error calling Python module function DbMySQLRE.connect" when I tried to connect with schema transfer wizard.

How to repeat:
Select Standart connection method.

Install 12.04 version of Ubuntu
Install mysql-client
Install Workbench.
Enter host, port, username and password.
Click connect.
[5 Feb 2015 23:21] MySQL Verification Team
Thank you for the bug report. Please provide the version of mysql-client and WorkBench versio 6.2.X. Thanks.
[6 Mar 2015 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[3 Aug 2018 9:37] Narendra Parihar
I try to connect mysql 5.1.11 to workbench  8.0 but it saying bad handshake
[8 Aug 2018 19:09] Horacio Castillo
testing connection to MySQL 5.6.22 from Workbench 8.0.12
"Bad handshake" message appears instantaneously.
connect_timeout is set to 10 seconds.
[9 Aug 2018 6:00] Brent Saner
Just a note, MySQL Workbench is also giving me the "Bad Handshake" error.

I get it when using 8.0.12 build 13312926 CE on Arch Linux (with libmariadbclient 10.1.34-1) when connecting to a mysql instance 14.14 Distrib 5.1.73 on CentOS 6.5 (mysql-server-5.1.73-8.el6_8.x86_64).

The error is immediate.

I do NOT get it:

- using the mysql CLI to the same server as above from the same client machine (Arch Linux, mariadb-clients 10.1.34-1)

- when connecting to a more recent (compat) version, Ver 15.1 Distrib 10.1.32-MariaDB (mariadb101u-server-10.1.32-1.ius.centos7.x86_64 from the IUS repository on CentOS 7.5.1804)

- when using PyMySQL 0.9.2

Will include outout of --log-to-stderr and an strace shortly.

Appreciate your status update on this; it's affecting multiple people.
[9 Aug 2018 6:01] Brent Saner
mysql-workbench --log-to-stderr output (scrubbed)

Attachment: stderr.log (text/x-log), 2.93 KiB.

[9 Aug 2018 6:02] Brent Saner
stack trace (scrubbed)

Attachment: strace.out (application/octet-stream, text), 22.07 KiB.

[9 Aug 2018 6:25] Brent Saner
cross-referencing: bug #91943
[16 Aug 2018 9:45] Ganea Nicolae
Remove MysqlWorkbench and install MysqlWorkbench 6.1.7
[8 Oct 2018 21:56] Kevin Pence
fixed by uninstalling 8.0.12 and installing 6.3.10

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.061 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.