Skip to content

MYSQL_OPT_RECONNECT is deprecated. When exec airflow db upgrade. #32708

Description

@Sunny-Island

Apache Airflow version

2.6.3

What happened

When I install airflow can set backend database, I set mysql as my backend. And I exec airflow db upgrade
It shows many warning info contains "WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version."

What you think should happen instead

No response

How to reproduce

mysql_config --version
8.0.34
mysql --version
mysql Ver 8.0.34 for Linux on x86_64 (MySQL Community Server - GPL)
setup airflow backend and run airflow db upgrade

Operating System

CentOS 7

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions