mysql-connector
MySQL driver written in Python
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is abandoned and deprecated; maintainer recommends using the official mysql-connector-python package instead
- High install friction due to source distribution.
- Package is abandoned—last release was 2019-04-01, over 2692 days ago.
License · maintenance · safety
copyleft license (copyleft) — 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.
last release 2019-04-01 (2692 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,419,764 downloads/mo, #3,927 on PyPI
Alternatives
Verify before relying
pip install mysql-connector==2.2.9
import mysql.connector
conn = mysql.connector.connect(host='localhost', user='root', password='pass')- 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
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 on this page. Verify before relying on it.
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
mysql-connector on PyPI
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.
Package is abandoned and deprecated; maintainer recommends using the official mysql-connector-python package 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')
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 | copyleft license copyleft |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,692 days since the last release |
| First released | |
| Downloads | 1,419,764 / month, #3,927 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Other EnvironmentIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU General Public License (GPL)Operating System :: OS IndependentProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.1Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Topic :: DatabaseTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules |
Evidence: mysql-connector-2.2.9.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mysql-connector-python-rf · MySQL-python · mysql · mysql-connector-python · mariadb · mysqlclient · hopsworks-aiomysql · vertica-python · aiomysql · opentelemetry-instrumentation-mysql