Today, class, problems in the test environment to build a complete MySQL, are summarized as follows:
Problem Description: complete set up MySQL, error when connecting remote connection tools (Navicat):
2013-Lost connection to MySQL server at 'waiting for intial communication packet',system error:0
Analysis:
MySQL open the reverse DNS resolution function, so MySQL client connections will conduct DNS host name lookup;
Solution:
Find mysql installation configuration file: my.cnf; path varies with the environment. If you are Liunx environment, you can go to the directory: /etc/my.cnf find
Edit the file: my.cnf, find [mysqld] module
In which at increased line: skip-name-resolve shown below:
Save and exit, and restart the mysql service: service mysql restart to reconnect and see!