Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mysql-connector-python from recommended MySQL driver #34287

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 3 additions & 12 deletions docs/apache-airflow/howto/set-up-database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,18 +298,9 @@ We recommend using the ``mysqlclient`` driver and specifying it in your SqlAlche

mysql+mysqldb://<user>:<password>@<host>[:<port>]/<dbname>

We also support the ``mysql-connector-python`` driver, which lets you connect through SSL
without any cert options provided. If you wish to use ``mysql-connector-python`` driver, please install it with extras.

.. code-block:: text

$ pip install mysql-connector-python

The connection string in this case should look like:

.. code-block:: text

mysql+mysqlconnector://<user>:<password>@<host>[:<port>]/<dbname>
.. important::
The integration of MySQL backend has only been validated using the ``mysqlclient`` driver
during Apache Airflow's continuous integration (CI) process.

If you want to use other drivers visit the `MySQL Dialect <https://docs.sqlalchemy.org/en/13/dialects/mysql.html>`__ in SQLAlchemy documentation for more information regarding download
and setup of the SqlAlchemy connection.
Expand Down