Thursday, February 16, 2017

MySQL Slow connection

When connection to MySQL server is too slow it may be because of name resolving (at least attempt to resolve names). To change this behaviour:
edit my.cnf:
Add this line under the `[mysqld]` section:
skip-name-resolve
And then restart mysqld daemon

No comments:

Post a Comment