Bug #72953 | Bad MD5 Hash For Python Connector 1.2.2 | ||
---|---|---|---|
Submitted: | 11 Jun 2014 9:38 | Modified: | 11 Jun 2014 14:54 |
Reporter: | Jonathan Gao | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S3 (Non-critical) |
Version: | 1.2.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | md5, Python Connector |
[11 Jun 2014 9:38]
Jonathan Gao
[11 Jun 2014 11:03]
Geert Vanderkelen
Thanks for reporting this. I fixed a bad space in the URL, but it turns out the MD5 is completely wrong. I have now fixed the URL. Below some prove that it works, even on a Windows machine. The good thing we take from this is that pip verification works and users are attentive. Thanks again! Note, correct pip line is: pip install --allow-external mysql-connector-python mysql-connector-python -Geert PS C:\Users\gvanderk> pip.exe install --upgrade --allow-external mysql-connector-python mysql-connector-python mysql-connector-python an externally hosted file and may be unreliable Downloading/unpacking mysql-connector-python from http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python -1.2.2.zip#md5=1459adcda19858629585d356ef481180 Running setup.py (path:c:\users\gvanderk\appdata\local\temp\pip_build_gvanderk\mysql-connector-python\setup.py) egg_info for package mysql-connector-python .. Installing collected packages: mysql-connector-python Found existing installation: mysql-connector-python 1.0.7 Uninstalling mysql-connector-python: Successfully uninstalled mysql-connector-python Running setup.py install for mysql-connector-python .. Successfully installed mysql-connector-python Cleaning up... PS C:\Users\gvanderk>
[11 Jun 2014 14:54]
Jonathan Gao
Hi Geert, Thanks a lot for your quick fix:) It's working properly now. As you mentioned, users are attentive about this connector. I was using mysql-python(MySQLdb) written in C before. I switched to mysql-connector-python several months ago because it's the official mysql driver for python and it is written in pure Python:) BTW, both pip commands below are correct: pip install --allow-external mysql-connector-python mysql-connector-python pip install --allow-all-external mysql-connector-python Thank you again for your support.