You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/23 01:33:34 UTC

[GitHub] [airflow] jicki commented on issue #14354: airflow version 2.0.1 === airflow db upgrade error

jicki commented on issue #14354:
URL: https://github.com/apache/airflow/issues/14354#issuecomment-783801258


   > This is because you have MySQL 5.6. You need MySQL 5.7 and above to use Airflow 2.0.
   
       MySQL 5.7   Airflow 1.10.13    desc xcom:
   
   ```
   Welcome to the MySQL monitor.  Commands end with ; or \g.
   Your MySQL connection id is 101439446
   Server version: 5.7.31-log MySQL Community Server (GPL)
   
   Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
   
   Oracle is a registered trademark of Oracle Corporation and/or its
   affiliates. Other names may be trademarks of their respective
   owners.
   
   Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
   
   [MySQL][(none)]> use airflow
   Database changed
   [MySQL][airflow]> desc xcom;
   +----------------+--------------+------+-----+---------+----------------+
   | Field          | Type         | Null | Key | Default | Extra          |
   +----------------+--------------+------+-----+---------+----------------+
   | id             | int(11)      | NO   | PRI | NULL    | auto_increment |
   | key            | varchar(512) | YES  |     | NULL    |                |
   | value          | blob         | YES  |     | NULL    |                |
   | timestamp      | timestamp(6) | NO   |     | NULL    |                |
   | execution_date | timestamp(6) | NO   |     | NULL    |                |
   | task_id        | varchar(250) | NO   |     | NULL    |                |
   | dag_id         | varchar(250) | NO   | MUL | NULL    |                |
   +----------------+--------------+------+-----+---------+----------------+
   7 rows in set (0.00 sec)
   
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org