[MXS-1602] cannot connect to maxinfo with python client Created: 2018-01-11  Updated: 2018-01-16  Resolved: 2018-01-16

Status: Closed
Project: MariaDB MaxScale
Component/s: maxinfo
Affects Version/s: None
Fix Version/s: 2.1.14

Type: Bug Priority: Major
Reporter: dapeng huang Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

mysql-connector-python > 2.0.0


Attachments: Text File patch.txt    

 Description   

there are two problems:
1. after handshake, mysql-connector-python will send a query 'set @@session.names=xxx', and maxinfo do not handle it properly;

2. maxinfo response ping command with 5 bytes ok packet, but python client do not recognize it

may another client have same problem; blow is my fix



 Comments   
Comment by markus makela [ 2018-01-11 ]

I did a quick review of the patch and it looks good (it also seems to fix MXS-1601). We would really appreciate if you opened a pull request on GitHub: https://github.com/mariadb-corporation/MaxScale

Comment by markus makela [ 2018-01-16 ]

Fixed in 454f195cb03d05e5692f18170fc26db0ed36b27d.

Generated at Thu Feb 08 04:08:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.