itayB commented on code in PR #25938:
URL: https://github.com/apache/airflow/pull/25938#discussion_r954984566
##########
docs/apache-airflow/installation/upgrading.rst:
##########
@@ -55,16 +67,143 @@ Sample usage:
``airflow db upgrade --revision-range "e959f08ac86c:142555e44c17"``
-Migration best practices
-========================
+Handling migration problems
+===========================
+
+
+Wrong Encoding in MySQL database
+................................
+
+If you are using old Airflow 1.10 as a database created initially either
manually or with previous version of MySQL,
+depending on the original character set of your database, you might have
problems with migrating to a newer
+version of Airflow and your migration might fail with strange errors ("key
size too big", "missing indexes" etc).
+The next chapter describes how to fix the problem manually.
Review Comment:
@potiuk until a migration tool is provided 😄, do you have any
recommendations of existing tools for migration? I am currently trying
[pgloader](https://github.com/dimitri/pgloader) and I wonder if that's a good
choice (I want to migrate from MySql 8 to Postgres 13).
##########
docs/apache-airflow/installation/upgrading.rst:
##########
@@ -55,16 +67,143 @@ Sample usage:
``airflow db upgrade --revision-range "e959f08ac86c:142555e44c17"``
-Migration best practices
-========================
+Handling migration problems
+===========================
+
+
+Wrong Encoding in MySQL database
+................................
+
+If you are using old Airflow 1.10 as a database created initially either
manually or with previous version of MySQL,
+depending on the original character set of your database, you might have
problems with migrating to a newer
+version of Airflow and your migration might fail with strange errors ("key
size too big", "missing indexes" etc).
+The next chapter describes how to fix the problem manually.
Review Comment:
@potiuk until a migration tool is provided 😄, do you have any
recommendations for existing tools for migration? I am currently trying
[pgloader](https://github.com/dimitri/pgloader) and I wonder if that's a good
choice (I want to migrate from MySql 8 to Postgres 13).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]