Skip to content
Discussion options

You must be logged in to vote

Hi @Ikarashi0310! I'm Dosu and I’m helping the superset team.

You're correct—the MySQL Python drivers (like mysqlclient or PyMySQL) are no longer included by default in the latest Superset Docker images (starting from version 4.1.0) to keep the image leaner. This change means you now need to explicitly install the required drivers and their system dependencies in your custom image to connect to MySQL databases. Reference Reference.

The recommended approach is to create a custom Dockerfile that installs the necessary system packages and then the Python driver. For recent Superset versions (5.x), it's best to use the new uv package manager instead of pip for Python dependencies. Here’s a b…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Ikarashi0310
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants