Centos7 mysql added skip-name-resolve to my.cnf, and the connection was slow for the first time. What is the reason?

for a project built with ssm framework and dbcp used to connect to the pool, it is always slow to connect to the database for the first time after starting the project. I found it on the Internet, saying that skip-name-resolve was added to my.cnf and that reverse parsing of dns was disabled, but after adding it and restarting it, it had no effect.

Apr.04,2022
Menu