Closed TianMeds closed 4 months ago
@TianMeds Try the following steps :
docker compose down
DB_HOST=db
in your .env
docker compose up -d
docker compose exec php bash
php artisan config:clear
php artisan migrate
If it still doesn't work, delete everything and create the environment again.
I was running my laravel backend as usual and already have my docker running. I can access the phpmyadmin and the account stated in the documentation but when i try to migrate my new Migration this what appears. My .env already been set like on the other issue here i tested the host to be in "db" i also try the "127.0.0.1" but both didn't work it can't migrate my migration