Mysql connection with port forwarding

Ah just looked at your config again that appears to be for Traefik for port 3306. What port are you using for MySQL?

When you are connecting manually are you first running ssh myremotename then from there running the mysql command?