Simple solution on my server: After migrating to a new Debian 7 server with my MySQL databases, the second local IP address, 127.0.1.1
, was missing in my hosts file. Adding this resolved the warnings:
echo -e "\n127.0.1.1 $(hostname)" >> /etc/hosts