MySQL connection via SSH tunnel on MacOS doesn't work [closed]
Solution 1:
Your MySQL connection command tries to connect to the IP of the MySQL server, but that isn't available via the internet.
You need to use mysql -u user -p -h 127.0.0.1 -P 3307
command on the Macbook to connect via the tunnel.