apache-airflow-providers-mysql

Content

References

Resources

Resources

Package apache-airflow-providers-mysql

MySQL

Release: 1.1.0

Provider package

This is a provider package for mysql provider. All classes for this provider package are in airflow.providers.mysql python package.

Installation

Note

On November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver. This resolver does not yet work with Apache Airflow and might lead to errors in installation - depends on your choice of extras. In order to install Airflow you need to either downgrade pip to version 20.2.4 pip install --upgrade pip==20.2.4 or, in case you use Pip 20.3, you need to add option --use-deprecated legacy-resolver to your pip install command.

You can install this package on top of an existing airflow 2.* installation via pip install apache-airflow-providers-mysql

PIP requirements

PIP package

Version required

mysql-connector-python

>=8.0.11, <=8.0.22

mysqlclient

>=1.3.6,<3

Cross provider package dependencies

Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.

You can install such cross-provider dependencies when installing from PyPI. For example:

pip install apache-airflow-providers-mysql[amazon]

Dependent package

Extra

apache-airflow-providers-amazon

amazon

apache-airflow-providers-presto

presto

apache-airflow-providers-trino

trino

apache-airflow-providers-vertica

vertica

The version of MySQL server has to be 5.6.4+. The exact version upper bound depends on the version of mysqlclient package. For example, mysqlclient 1.3.12 can only be used with MySQL server 5.6.4 through 5.7.

Changelog

1.1.0

Features

  • Adds 'Trino' provider (with lower memory footprint for tests) (#15187)

  • A bunch of template_fields_renderers additions (#15130)

Bug fixes

  • Fix autocommit calls for mysql-connector-python (#14869)

1.0.2

Bug fixes

  • MySQL hook respects conn_name_attr (#14240)

1.0.1

Updated documentation and readme files.

1.0.0

Initial version of the provider.

Was this entry helpful?