-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysqlclient fails to build for MySQL >= 8.3.0 #688
Comments
thanks. |
Thanks!!! It worked for me!! :) |
To install from etripier's commit: And don't trust me - make sure the commit id |
Deeply thanks!! |
Question: How far back will your changes work? Will it work back for myself 5.6* series? MariaDB 5.5? We are slowly transitioning from Centos 7 - which reaches EOL this year. Will your changes break things? mysql 5.6 series does define MYSQL_OPT_SSL * |
I don't know. They are not supported version. |
problem: - there are no wheels mysqlclient for mac, instead pip builds the wheel - this has generally worked fine, but recently, for mysql >= 8.3.0, the MySQL team killed some APIs that have been deprecated for a while now, causing the mysqlclient build to fail solution: - we can pin the brew install of mysql to < 8.3.0, or we can bump the pip install of mysqlclient to >= 2.2.3 which as of 2/4/24 has a patch: PyMySQL/mysqlclient#688 - later seems more "responsible"
problem: - there are no wheels mysqlclient for mac, instead pip builds the wheel - this has generally worked fine, but recently, for mysql >= 8.3.0, the MySQL team killed some APIs that have been deprecated for a while now, causing the mysqlclient build to fail solution: - we can pin the brew install of mysql to < 8.3.0, or we can bump the pip install of mysqlclient to >= 2.2.3 which as of 2/4/24 has a patch: PyMySQL/mysqlclient#688 - later seems more "responsible"
If you're using Homebrew, upgraded to 8.3.0 already, and aren't ready to upgrade your client library to 2.2.4, I put some simple instructions to get your dev environment working again: https://i-am-j.ag/blog/posts/python-mysql-8.3.0-homebrew/ |
Hi! I love your driver. It's fast and reliable.
Unfortunately, the MySQL team finally killed a couple of the APIs they've been threatening to remove for a while now -
mysql_kill
,mysql_shutdown
, andmysql_ssl_set
.I fixed the issue here: etripier@ee1882e. I'd be more than happy to submit a PR to your repo.
The text was updated successfully, but these errors were encountered: