I was trying to Upgrade EE to the latest Version, self hosted, Ubuntu 20.04 incl. latest updates
docker pull seatable/seatable-ee:latest
docker-compose up -d
docker exec -it seatable /bin/bash # Login to the SeaTable container. Then execute the upgrade statement
mysql -h$DB_HOST -p$DB_ROOT_PASSWD dtable_db </opt/seatable/seatable-server-latest/sql/mysql/upgrade/2.5/dtable.sql
As above Value “DB_ROOT_PASSWD” MySQL Password has been added and used
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘db’ (111)