Mysql connection with port forwarding

You can connect to the docker container using the docker exec command but I suspect the issue is more around the SSH tunnel, What if you change LocalForward to LocalForward 0.0.0.0:3307 127.0.0.1:3306 it could be that for some reason the docker instance is not able to connect to it and that will sort it.

1 Like