MySQL – can’t get hostname for your address

29. February 2012 SysAdmin 0

I recently had an issue with mysql, One of our developer complained that he is not able to login to mysql via SqlYog, a MySql client.

The **Error Message** was,

Can’t get hostname for your address

**Solution**
**
**
Just add **skip-name-resolve** option to the [mysqld] section of your my.cnf/my.ini

`skip-name-resolve `


Leave a Reply

Your email address will not be published.