The mysql service was stopped and in mysql log I saw these warning:
161125 16:41:10 [Warning] IP address 'x.x.x.x' has been resolved to the host name 'x.x.x.x.xxx.xxxxxx.com', which resembles IPv4-address itself.
161125 23:58:23 [Note] /usr/sbin/mysqld: Normal shutdown
Notice:
-
with iptable, only the server address is accepted for port 3306
-
In my.cnf I set the bind_address = server_adress_ip: bind_address = x.x.x.x
Why the mysql service was stopped?
Best Answer
It's a
WARNING
and aNOTICE
, not anERROR
. Neither of them are responsible for the shutdown. I assume however you're getting this message because in your/etc/hostname
(or dns) you have a polluted entry.As for why mysql cares what the name resolves to, here is a post on the mailing list.
If this is by intent, you may want to read this bug