apache-airflow-providers-mysql
Provider package apache-airflow-providers-mysql for Apache Airflow
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained provider from the Apache Airflow project with no known vulnerabilities. Install it if you need to orchestrate MySQL tasks within Airflow. The low install friction and permissive Apache-2.0 license make it a straightforward choice for Airflow users with MySQL databases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Apache Airflow >=2.11.0 already installed and a configured MySQL connection in Airflow.
- Low install friction with a pure-Python wheel.
- Requires Apache Airflow >=2.11.0 and several MySQL client libraries (mysqlclient, mysql-connector-python, aiomysql, pymysql).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive). Safe for commercial and proprietary use with minimal restrictions; you may use, modify, and distribute subject to license attribution.
last release 2026-06-07 (68 days) · last repo commit 2026-08-14 · 46,489 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,741,276 downloads/mo, #1,175 on PyPI
Alternatives
Verify before relying
pip install apache-airflow-providers-mysql
from airflow.providers.mysql.operators.mysql import MySqlOperator
from airflow import DAG
with DAG('my_mysql_dag') as dag:
task = MySqlOperator(
task_id='run_query',
sql='SELECT * FROM table',
mysql_conn_id='mysql_default'
)- Whether all seven MySQL client libraries are required simultaneously or if the provider auto-selects based on environment.
- Performance characteristics and connection pooling behavior across the different MySQL drivers.
- Async support scope and limitations with aiomysql.
What it is and what it does
This is an Apache Airflow provider package that adds MySQL database integration to Airflow workflows. It supplies operators, hooks, and sensors that let you define, schedule, and monitor MySQL queries and commands as tasks within Airflow DAGs. The package abstracts away connection management and provides a declarative interface for common database operations.
The package depends on Apache Airflow >=2.11.0 and bundles support for multiple MySQL client libraries (mysqlclient, mysql-connector-python, aiomysql, pymysql) to accommodate different deployment environments and use cases. It is actively maintained as part of the Apache Airflow ecosystem and supports Python 3.10 through 3.14.
Use it for
- Schedule and execute SQL queries on MySQL databases as part of larger data pipelines.
- Monitor MySQL table changes or query results and trigger downstream Airflow tasks based on conditions.
- Orchestrate ETL workflows that extract data from MySQL, transform it, and load it into other systems.
- Run periodic database maintenance tasks (backups, cleanup, schema updates) on a schedule.
- Integrate MySQL operations with other Airflow providers to build multi-system workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained provider from the Apache Airflow project with no known vulnerabilities. Install it if you need to orchestrate MySQL tasks within Airflow. The low install friction and permissive Apache-2.0 license make it a straightforward choice for Airflow users with MySQL databases.
Install
apache-airflow-providers-mysql on PyPI
Before you install
Low install friction with a pure-Python wheel. Requires Apache Airflow >=2.11.0 and several MySQL client libraries (mysqlclient, mysql-connector-python, aiomysql, pymysql). Actively maintained with recent releases; last commit 2026-08-14.
Requires Apache Airflow >=2.11.0 already installed and a configured MySQL connection in Airflow.
License in practice
Licensed under Apache-2.0 (permissive). Safe for commercial and proprietary use with minimal restrictions; you may use, modify, and distribute subject to license attribution.
Quickstart
pip install apache-airflow-providers-mysql
from airflow.providers.mysql.operators.mysql import MySqlOperator
from airflow import DAG
with DAG('my_mysql_dag') as dag:
task = MySqlOperator(
task_id='run_query',
sql='SELECT * FROM table',
mysql_conn_id='mysql_default'
)
Verify before relying
- Whether all seven MySQL client libraries are required simultaneously or if the provider auto-selects based on environment.
- Performance characteristics and connection pooling behavior across the different MySQL drivers.
- Async support scope and limitations with aiomysql.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesapache-airflowapache-airflow-providers-common-compatapache-airflow-providers-common-sqlmysqlclientmysql-connector-pythonaiomysqlpymysql |
| Maintenance | Actively maintained 68 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 15,741,276 / month, #1,175 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 :: ConsoleEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersIntended Audience :: System AdministratorsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Monitoring |
Evidence: apache_airflow_providers_mysql-6.6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “airflow mysql integration”
- apache-airflow-providers-mysqlIntegrates Apache Airflow with MySQL databases, providing operators,…
- apache-airflow-providers-apache-hiveIntegrates Apache Hive with Apache Airflow, enabling Hive query…
- airflow-clickhouse-pluginProvides Apache Airflow operators and hooks to execute SQL queries…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also apache-airflow-providers-jdbc · apache-airflow-providers-microsoft-mssql · apache-airflow-providers-vertica · apache-airflow-providers-common-sql · apache-airflow-providers-teradata · apache-airflow-providers-trino · apache-airflow-providers-apache-hive · apache-airflow-providers-presto · apache-airflow-providers-postgres · apache-airflow-providers-databricks