To keep the internal testing environment as consistent with the live production environment as possible, httpd, ftp, mysql, and other services are all installed on CentOS 6.5 64-bit. However, my development environment is still Windows 8.1 64-bit, and the program runs on the development environment, which causes the problem of connecting to mysql too slowly. If connecting to the local machine, it is very fast.
The solution is as follows:

![Add skip-name-resolve to the [mysqld] section in the mysql configuration file my.cnf.](https://media.shuijingwanwq.com/2014/12/22.png)
Connecting to mysql again through phpmyadmin, I found that the speed is now very fast.
