--- id: mysql-connector version: "2.2.9" license: GNU GPLv2 (with FOSS License Exception) license_treatment: copyleft maintenance: abandoned --- # mysql-connector — MySQL driver written in Python License: copyleft · Maintenance: abandoned · Downloads: 1.4M/mo ## What it is and what it does mysql-connector is a Python driver for connecting to and querying MySQL databases. It provides the low-level interface needed to send SQL commands to a MySQL server and retrieve results. The package has no runtime dependencies and installs from source, which introduces compilation overhead on some systems. This package is abandoned and deprecated. Its maintainer explicitly recommends switching to the official version. The last release was in April 2019, and no updates have been published since. Classifiers indicate support only through Python 3.3, making it unsuitable for modern Python environments. Use it for: - Legacy Python 2.6–3.3 applications that already depend on this specific package and cannot migrate - Maintaining existing codebases where switching drivers would require significant refactoring - Educational projects using historical MySQL driver implementations as reference material ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. MySQL driver written in Python that enables database connections and queries to MySQL servers. No. Do not install this package. It is abandoned, deprecated by its own maintainer, and explicitly superseded by an official version. The maintainer's own description directs users away from it. High install friction and lack of maintenance for over 2692 days make it unsuitable for any new project. ## Install pip install mysql-connector uv add mysql-connector poetry add mysql-connector ## Installing mysql-connector Before you install: High install friction due to source distribution. Package is abandoned—last release was 2019-04-01, over 2692 days ago. The maintainer explicitly directs users to the official version instead. License in practice: Licensed under GNU GPLv2 with FOSS License Exception (copyleft). Use in proprietary software requires careful review of the exception terms and may impose distribution obligations. Quickstart: pip install mysql-connector==2.2.9 import mysql.connector conn = mysql.connector.connect(host='localhost', user='root', password='pass') Package is abandoned and deprecated; maintainer recommends using the official mysql-connector-python package instead Verify before relying: - Whether the FOSS License Exception permits use in closed-source projects without source disclosure - Compatibility with Python versions beyond 3.3 listed in classifiers - What specific compiled dependencies cause high install friction ## Package facts - License: GNU GPLv2 (with FOSS License Exception) (copyleft) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 1.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags mysql python driver, mysql database connector, python mysql client, mysql db connection, python mysql query, deprecated, abandoned [View on SkillFed](https://skillfed.io/packages/mysql-connector) · [View on PyPI](https://pypi.org/project/mysql-connector/)