Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 384

compress is not working for Windows 10 (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 384

Trending Articles