Solution on MySQL forum, post
Not to do:
- don’t change ports
- don’t open/close ports
- don’t switch off Firewall
To do:
- make sure you use correct ip or domain name in connection string
- web-server must get remote connection. You can do it by cpanel. Set % in remote host name
- by cpanel add your ip to firewall