dosubot[bot] commented on issue #31162: URL: https://github.com/apache/superset/issues/31162#issuecomment-2500879828
<!-- Greeting --> @squalou Hello there! I'm here to assist you with any bugs, questions, or contributions related to Superset. Let's tackle this issue together! <!-- Answer --> Yes, it is expected behavior that you need to manually add MySQL and PostgreSQL drivers to the Docker image for Superset. Starting from version 4.1.0, the Docker image does not include these drivers by default. You need to install the necessary drivers for your metadata database (MySQL or PostgreSQL) and any other databases you connect to. This can be done by adding the required packages to a `requirements-local.txt` file or directly modifying the Dockerfile as you have done <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/configuration/databases.mdx)</sup>. For your specific case, adding `mysqlclient` and `psycopg2` to your Docker setup is the correct approach. This change is due to updates in the `lean` Docker image that official releases are based on <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/configuration/databases.mdx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
