compress is not working for Windows 10
Posted by:
Alex Liu
Date: May 22, 2020 08:19AM
mysql.connector.connect(host='xxx.com', user='user_name', password='xxxx', database='test', charset='utf8mb4', collation='utf8mb4_unicode_520_ci', compress=True)
When I use this code do
sql = 'Select * from somewhere'
db_cursor.execute(sql)
db_cursor.fetchall()
at MacOS, it's working. But not working at Windows 10. There is an error message:
valueerror("packet is not an error packet")
If I remove compress=True, everything is fine.
Python version: 3.7
mysql-connector-python: 8.0.20
Subject
Written By
Posted
compress is not working for Windows 10
May 22, 2020 08:19AM
Sorry, you can't reply to this topic. It has been closed.
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.