Henryz0928 commented on issue #25706: URL: https://github.com/apache/superset/issues/25706#issuecomment-2034037215
After I modified SQLALCHEMY_DATABASE_URI = 'mysql://root:[email protected]/superset_db' in the local config.py file, the startup error of the image container constructed by Docker occurred: 2024-04-03 17:10:50 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 544, in create_engine 2024-04-03 17:10:50 dbapi = dialect_cls.dbapi(**dbapi_args) 2024-04-03 17:10:50 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 150, in dbapi 2024-04-03 17:10:50 return __import__("MySQLdb") 2024-04-03 17:10:50 ModuleNotFoundError: No module named 'MySQLdb' -- 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]
