Please make sure that the mysql server is bound to the expected IP which is assigned to the
host value you are using in
- Find out IP:
- On the Host, check bind address of
ps -eaf | grep mysql. (0.0.0.0/0 means bind on all IPs of the Host and is fine)
If you get different IPs for both commands, that is the culprit. Esp. if the second one only returns 127.0.0.1. You need to adjust your mysql configuration to bind on the external IP address of the Host then.