記事一覧
Unknown MySQL server host 'db' error when using docker-compose
## What to do 1. Check database services configs in docker-compose.yml, make sure there is no error 2. Check database service logs, find out what cause the error. ## What I encountered At first, I used mysql 8 to setup the docker-compose