Is there a version of MySQL connector for Python 3.9?

Viewed 5771

I'm new to Python and I just wanted to know if there is any connector for Python 3.9 I've looked at MySQL page but the last Python connector on the page (version 8.0.22) isn't compatible with the 3.9 version.

Any help? Am I not finding it or does it not exist for now?

Thanks in advance.

2 Answers

User Nuno Mariz commented

The support for Python 3.9 will be added in the upcoming Connector/Python 8.0.24 that will be released soon. Nonetheless Connector/Python 8.0.22/23 works with Python 3.9, only the metadata in packaging doesn't comply

So while mysql-connector-python page on pypi did not assert compatibility with Python 3.9 at the time of asking, v. 8.0.22/23 would still work if installed under Python 3.9.

Don't call your python script "mysql.py", rename it and it will works.

Related