Skip to content

Docker: Python 3.10-based image fails to start (_mysql is not defined) #26115

Answered by potiuk
omgMath asked this question in General
Discussion options

You must be logged in to vote

Ah I was too fast. I thin the problem is with some of your settings. Likely you do something else with the imaage or override LD_PRELOAD env variable.

The problem you are mentioning should be solved (and I just checked that it is still solved) by having this variable defined:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

This is in order to workaround mysql cluent wrongly allocating memory (this is mysql problem not Airflow). You should leep that variable set in order to keep workaround, well, working.

You can see more details here #17546

If you are somehow overriding this variable you will trigger MySQL problem so you should keep it set. I guess you override it with your own versi…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@potiuk
Comment options

@omgMath
Comment options

Answer selected by omgMath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug invalid area:core
2 participants
Converted from issue

This discussion was converted from issue #26104 on September 01, 2022 18:01.