# netstat -lptn4|grep :3306
tcp 0 0 8.8.8.8:3306 0.0.0.0:* LISTEN
cat /etc/hosts
127.0.0.1 localhost
8.8.8.8 google.com google
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
было server=localhost после изменения на белый ip все завелось.Более интересно, завелось бы с server=127.0.0.1 или не завелось.
cat /etc/nsswitch.confhosts: dns [...] files то попробовать такhosts: files [...] dnssystemctl status systemd-resolved (хотя вроде не должно влиять).
мне интересно почему так произошло. Изменений насколько я понимаю не было.