--- id: mysql-connector-python version: "26.7.0" license: GNU GPLv2 (with FOSS License Exception) license_treatment: copyleft maintenance: active --- # mysql-connector-python — A self-contained Python driver for communicating with MySQL servers, using an API that is compliant with the Python Database API Specification v2.0 (PEP 249). License: copyleft · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install mysql-connector-python uv add mysql-connector-python poetry add mysql-connector-python ## Description MySQL Connector/Python ====================== .. image:: https://img.shields.io/pypi/v/mysql-connector-python.svg :target: https://pypi.org/project/mysql-connector-python/ .. image:: https://img.shields.io/pypi/pyversions/mysql-connector-python.svg :target: https://pypi.org/project/mysql-connector-python/ .. image:: https://img.shields.io/pypi/l/mysql-connector-python.svg :target: https://pypi.org/project/mysql-connector-python/ MySQL Connector/Python enables Python programs to access MySQL databases, using an API that is compliant with the `Python Database API Specification v2.0 (PEP 249) `__. Features -------- * `Asynchronous Connectivity `__ * `C-extension `__ * `Telemetry `__ Licensing --------- Please refer to the `README.txt `__ and `LICENSE.txt... ## AI interpretation — verify before relying MySQL Connector/Python is a self-contained driver that enables Python programs to connect to and query MySQL databases using the PEP 249 database API standard, with support for both classic and X DevAPI connectors. Verdict: A production-stable, actively maintained official MySQL driver with zero known vulnerabilities, low install friction, and broad Python version support. The copyleft GPL license is a consideration for proprietary software; open-source projects and internal use face no barrier. Optional extras (telemetry, gssapi, webauthn, dns-srv) and HeatWave AI/ML integration are available but not installed by default. [View on SkillFed](https://skillfed.io/packages/mysql-connector-python) · [View on PyPI](https://pypi.org/project/mysql-connector-python/)