MySQLdb1
MySQLdb1 copied to clipboard
MySQL database connector for Python (legacy version)
# Issue Type [x] Bug (Typo) # Steps to Replicate and Expected Behaviour - Examine tests/dbapi20.py, tests/test_MySQLdb_dbapi20.py and observe `cannnot`, however expect to see `cannot`. - Examine tests/dbapi20.py and observe...
db = MySQLdb.connect(host="localhost", port=12345, user=mysql_user, passwd=mysql_password, db="configdb", charset='utf8', connect_timeout=10) print(db.port) # 12345 but connect to default port 3306. if host="127.0.0.1", port=12345 connect to 12345.
My environment is centos7 and python3.7, and I have try many way to install mysqlclient, but it does not work, so, does this package support my environment? Thanks.
Python version is 3.9.0 MySQL is mysql80-community-release-el7-3.noarch.rpm ``` ERROR: Command errored out with exit status 1: command: /home/cesc/envme/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7imlhj3_/mysqlclient_4abebc3dfb814f09b6c8b217e744025e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7imlhj3_/mysqlclient_4abebc3dfb814f09b6c8b217e744025e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',...

raise ImproperlyConfigured('mysqlclient 1.4.0 or newer is required; you have %s.' % Database.__version__) django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.1. while i have installed the latest package of...
I wasted whole 2 days installing it on different machines. Later someone commented that this is a dead project. So I edited the readme to mention this.
[mysqlclient](https://github.com/pymysql/mysqlclient-python) is fork of this project. It supports MySQL 8.0, MariaDB 10.x, and Python 3.x. And Oracle provides another MySQL client library; MySQL Connector/Python. You can install it [from PyPI](https://pypi.org/project/mysql-connector-python/)...
Official documentation [page](https://pypi.org/project/MySQL-python/) says `MySQL-3.23 through 5.5 and Python-2.4 through 2.7 are currently supported.` I just upgraded from mysql 5.5. to mysql 5.7 and it seems to be working fine....
I got issues in running my application with MySQLdb, like following. ``` Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib ``` When python loading `_mysql.cpython-37m-darwin.so` file, it might load libssl.1.0.0 files. does it need...