qinlz-1 opened a new issue, #24243:
URL: https://github.com/apache/superset/issues/24243

   when i change docker compose db to mysql
     db:
       env_file: docker/.env-non-dev
       #image: postgres:14
       image: mysql:5.7
       container_name: superset_db
       restart: unless-stopped
       volumes:
         - db_home:/var/lib/mysql
         #- db_home:/var/lib/postgresql/data
   
   docker-compose -f docker-compose-non-dev.yml up
   
   superset_worker   :ERROR:flask_appbuilder.security.sqla.manager:DB Creation 
and initialization failed: (MySQLdb._exceptions.OperationalError) (2002, "Can't 
connect to MySQL server on 'db' (115)")
   
   superset_worker_beat  :ERROR:flask_appbuilder.security.sqla.manager:DB 
Creation and initialization failed: (MySQLdb._exceptions.OperationalError) 
(2002, "Can't connect to MySQL server on 'db' (115)")
   
   superset_init  :ERROR:flask_appbuilder.security.sqla.manager:DB Creation and 
initialization failed: (MySQLdb._exceptions.OperationalError) (2002, "Can't 
connect to MySQL server on 'db' (115)")


-- 
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]

Reply via email to