python-mysql-connector-python
Port variant v13
Summary MySQL server driver (3.13)
Package version 26.7.0
Homepage https://dev.mysql.com/doc/connector-python/en/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 01 AUG 2026, 16:20:03 UTC
Port created 21 FEB 2025, 19:12:19 UTC
Subpackage Descriptions
single 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 `__ files, available in this repository, for further details. Contributing ------------ We greatly appreciate feedback from our users, including bug reports and code contributions. Your input helps us improve, and we thank you for any issues you report or code you contribute. Please refer to the `CONTRIBUTING.md `__ document for additional information. Installation ------------ Connector/Python contains the Classic and X DevAPI connector APIs, which are installed separately. Any of these can be installed from a binary or source distribution. Binaries are distributed in the following package formats: * [RPM] * [WHEEL] On the other hand, the source code is distributed as a compressed file from which a wheel package can be built. The recommended way to install Connector/Python is via [pip], which relies on WHEEL packages. For such a reason, it is the installation procedure that is going to be described moving forward. Please, refer to the official MySQL documentation `Connector/Python Installation `__ to know more about installing from an RPM, or building and installing a WHEEL package from a source distribution. Before installing a package with [pip], it is strongly suggested to have the most recent pip version installed on your system. If your system already has pip installed, you might need to update it. Or you can use the [standalone pip installer]. .. code-block:: bash $ pip install mysql-connector-python Installation Options ++++++++++++++++++++ Connector packages included in MySQL Connector/Python allow you to install optional dependencies to unleash certain functionalities. .. code-block:: bash # 3rd party packages to unleash the telemetry functionality are installed $ pip install mysql-connector-python[telemetry] This installation option can be seen as a shortcut to install all the dependencies needed by a particular feature. Mind that this is optional and you are free to install the required dependencies by yourself. Available options: * dns-srv * gssapi * webauthn * telemetry Sample Code -----------------------------------
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Download groups
main mirror://PYPIWHL/ff/01/07efeb3e3fc730f945af40ddf1f4c879c13945b193a94eba8e642c0d4176
Distribution File Information
43ee453b53556f690e4f4b795d3f17a1c6d4b45f729657bb0d999c8dfc9261d5 480733 python-src/mysql_connector_python-26.7.0-py2.py3-none-any.whl
Ports that require python-mysql-connector-python:v13
No other ports depend on this one.