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