PhpMyAdmin was working just fine with Docker 4.37, then
I’ve upgraded to Docker 4.38 and PhpMyAdmin returned: net::ERR_CONNECTION_REFUSED
I tried to delete the image and reinstalled (as root and non-sudo), changed the port, checked the firewall, rebooting.
Nothing worked.
Everything else is still working as before, why not PhpMyAdmin? Thanks
$ ping localhost // OK
$ mysql // OK
- Laravel 11
- Sail
- WSL 2
- phpMyAdmin: latest
docker-compose-yml
phpmyadmin:
image: 'phpmyadmin:latest'
links:
- mysql:mysql
ports:
- 8080:80
environment:
MYSQL_USERNAME: "${DB_USERNAME}"
MYSQL_ROOT_PASSWORD: "${DB_PASSWORD}"
PMA_HOST: mysql
PMA_ARBITRARY: 1
networks:
- sail
depends_on:
- mysql