Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.4
-
None
-
None
-
Windows 7 64
MySQL Server 5.5.15
Description
I used MariaDB client 1.1.4, tried to connect to MySQL 5.5.15 and got:
org.mariadb.jdbc.internal.common.QueryException: Could not connect: Bad handshake
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.checkErrorPacket(MySQLProtocol.java:522)
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:478)
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:669)
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.<init>(MySQLProtocol.java:264)
at org.mariadb.jdbc.Driver.connect(Driver.java:110)
This bug had appeared after revision 470 (use bit flags instead of enums).
1.1.3 version works fine