I use my remote MySQL database during long time.
But today I suddenly have found that I cannot connect to the database. I have got an error.
Just add below in my.ini or my.cnf.
my.ini
my.cnf
[mysqld] skip-name-resolve
Linux:
Otherwise, start MySQL server with the following flag:
sudo service --skip-name-resolve
For more information: http://dev.mysql.com/doc/refman/5.0/en/host-cache.html