-
Notifications
You must be signed in to change notification settings - Fork 278
Bug with latest mysql-connector-python
(version 8.0.30)
#186
Comments
I can't reproduce your error. Version 8.0.30 works for me on both windows and linux. Can you please provide more details on this error? How are you using data-diff, and on which platform? |
We encountered a similar issue. Using data-diff 0.2.3 to try to connect to MySQL 5.7.32. (which also ran into a different error while handling the first error). (We should upgrade to 0.2.4 but the original error would persist).
Preliminary investigation suggests that this is an upstream problem in |
So you're saying mysql-connector-python v8.0.30 introduces a bug? Did you open an issue there? We can limit the version on our side, but I want to first make sure it's the best way forward. |
Closed due to inactivity. |
@erezsh Sorry for ressurecting this, but I'm hitting the same wall here. I'm using MySQL 5.7.23 (AWS rds) and data-diff 0.3.0rc1 and when I run this: from data_diff import connect_to_table
user = "xxxxxxxx"
password = "xxxxxxxxxxxxxxxxx"
database = "xxxxxxxxxxxxxxxx"
hostname = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.rds.amazonaws.com"
db_info = f"mysql://{user}:{password}@{hostname}/{database}"
table = connect_to_table(
db_info,
table_name="mytable",
)
print(table.count()) I get something like:
Things that worked for me:
I'm a bit lost, since I cannot find a way to open an issue with mysql-connector-python, neither am I sure it is their issue, I'm not a developer and I find it kind of hard to navigate the code. @pawandubey links to a comment about it but I'm not sure how to proceed. Is there something we can do? |
Was having issues with the MySQL connector on the latest version

Had to manually downgrade it to 8.0.29

It might be better to add some lower/upper boundaries in the pyproject.toml of
data-diff
The text was updated successfully, but these errors were encountered: