[CONJ-928] mariadb connector J 2.7.5 can't connect MySQL 5.6.16 or older Created: 2022-02-15 Updated: 2022-02-16 Resolved: 2022-02-15 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | MySQL compatibility |
| Affects Version/s: | 2.7.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | fanzhang | Assignee: | Diego Dupin |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | replication | ||
| Environment: |
OS:centos7.2 |
||
| Issue Links: |
|
||||
| Description |
|
mariadb connector J 2.7.5 can't connect to mysql version 5.6.16-log |
| Comments |
| Comment by Diego Dupin [ 2022-02-15 ] |
|
Then, there is a bug in this Mysql :Ali 5.6: it would seem server indicate that it support session tracking feature without really supporting it ( send CLIENT_SESSION_TRACK capability in initial Handshake packet). As a workaround, you can remove rewriteBatchedStatements option with 5.6. Batches will be a little bit slower, but there won't be other problems. |