You cannot connect to remote MySQL unless you are the white specified in the MySQL user privilege table.
Suppose your IP address is equal 199.255.209.168, and you are trying to enter the MySQL daemon running by IP address 123.238.18.47using a username rakmanwith some password
$ mysql -h 123.238.18.47 -u rakman -p
Enter password:
ERROR 1130 (HY000): Host '199.255.209.168' is not allowed to connect to this MySQL server
mysql [rakman] @[ IP-] MySQL, 123.238.18.47. , rakman@199.255.209.168 ( rakman@%, MySQL , ), MySQL, 123.238.18.47.
MySQL , , 'xxx.xx.xxx.xxx' MySQL. .
$ mysql -h 123.238.18.47 -u rakman -p
Enter password:
Welcome to the MySQL monitor.