- 최신
- 최다 투표
- 가장 많은 댓글
Hi,
I see that you are receiving the following error while installing "apache-airflow-providers-mysql" package during upgrading your Airflow MWAA Cluster to 2.4.3 version.
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
mysql_config --version
/bin/sh: mysql_config: command not found
mariadb_config --version
/bin/sh: mariadb_config: command not found
mysql_config --libs
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 2, in <module>
......
not found".format(_mysql_config_path))
OSError: mysql_config not found
Fix for installing apache-airflow-provider-mysql in MWAA environment 2.4.3 is now deployed to all regions. Please update your MWAA environments so the web server, schedulers, and workers can restart with the fix.
On the console you need to click 'Edit' for your MWAA environment then click 'Next' on the 'Specify details' and 'Configure advanced settings' pages, then 'Save' on the 'Review and save' page, then the environment will update. Or the you can use the update-environment mwaa cli command for your environment and not use any additional options for the command.
I had tested the same recently while deploying a MWAA cluster with 2.4.3 version in us-west-2 region which deployed successfully along with the mysql provider package. I was able to install below requirement file on MWAA without any issue.
requirements.txt
=============
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.3/constraints-3.10.txt "
apache-airflow[amazon,docker,mysql]==2.4.3
pendulum==2.1.2
pydantic==1.10.4
pyaml==21.10.1
mysql-connector-python==8.0.31
sqlparse==0.4.3
deepmerge==1.1.0
Thank you.
Hi Nimral, should this requirement text allow for the MySQL connection type to appear in the UI in connections? This thread from a couple years ago (https://lists.apache.org/thread/p7lljxdgsvpc4tg13nk7f367617brt1f) makes is seem like the webserver does not get updated?
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 9달 전
Hi, we are experiencing the same error while deployment Airflow 2.4.3 having apache-airflow-providers-mysql[amazon] as requirement. Thanks for providing a solution