When trying to connect from remote host to mysql server with command like this
mysql -h MySqlServerIP -u mysqlusername -p[password]
if it is taking long time. Give the following entry in /etc/my.cnf of the server
skip-name-resolve
in the [mysqld] section.
This will fix the issue. It will disable dns resolving.
Showing posts with label Taking long time to connect to MySql server remotely. Show all posts
Showing posts with label Taking long time to connect to MySql server remotely. Show all posts
Subscribe to:
Posts (Atom)