We updated Debian from 10 to 12, now I have the same problem. I tried to change my.cnf and 50-server.cnf.
bind-address = 127.0.0.1 (was already there). I also tried also the "::" value.
skip-name-resolve = 1, I tried skip-name-resolve=0 and I also outcommented it.
Nothing is working... Do I...