MySQL: Temporary failure in name resolution

If your MySQL server is not responding, and you’re seeing a lot of these in your mysql logs:

XXXXX XX:XX:XX [Warning] IP address ‘XXX.XXX.XXX.XXX’ could not be resolved: Temporary failure in name resolution

Try adding the following:

skip-host-cache
skip-name-resolve

 
to your my.cnf under [mysqld] then restart mysqld. That should address the issue!

Share this Post