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 `