sheikhu commented on issue #73218:
URL: https://github.com/apache/airflow/issues/73218#issuecomment-5695283987
Hi !
I recently faced the same issue with mysql and pymysql.
You just need to pass the MULTI_STATEMENTS flag to your db connection args.
I solved it by adding this in my helm chart:
```yml
airflowLocalSettings: |-
from pymysql.constants.CLIENT import MULTI_STATEMENTS
connect_args = {"client_flag": MULTI_STATEMENTS}
```
I hope this will be helpful
--
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]