Open JayalakshmiH opened 2 hours ago
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Can confirm that this error happens on Airflow 2.10.3 with MySQL 8.0.32.
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.9.2
What happened?
When upgrading the database from 2.8.2 or 2.9.2 via airflow db migrate, I get the following error message
What you think should happen instead?
The db migration should successfully finish.
How to reproduce
Start with airflow 2.9.2, an empty mysql database. The initial new creation of new database objects works well. Now run, for example
airflow db downgrade --to-version=2.8.2 --yes
Run
airflow db migrate
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
Mysql version (docker) mysql:8.0.28. Issue occurs in other versions of mysql as well i.e 8.0.32, 8.0.36
Anything else?
Though this issue is marked as closed https://github.com/apache/airflow/issues/40928, it is still occuring as reported by multiple users.
Are you willing to submit PR?
Code of Conduct