You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The database container will always run on 3306 in the internal network. The mapping is only required if you want to access the container from outside the network with an additional database tool (such as DataGrip, HeidiSQL...).
In other words the PMA_PORT should remain configured to 3306.
You can change although the ports in the db service. Changing it to ${IP}:3307:3306 will allow you to access the database remotely on port IP:3307
I changed these lines
and
in
docker-compose.yml
. Then i rundocker-compose up
Then when i run
sudo netstat -tulpn | rg 3306
i getWhen
CTRL + C
in docker compose terminal, and i do netstat again i see that port 3306 is no longer in use.The text was updated successfully, but these errors were encountered: