84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
局域网里有一台win2003安装的mysql 5.0的数据库,我用笔记本连接数据库时要好几秒才提示输入密码,局域网里面其余有几台连接这个数据库时挺快,在网上搜了一下是mysql做DNS的反向域名解析的原因 问题1:同样是局域网里的电脑,有的又挺好,所以不太明白这个过程中为什么会有差异。 问题2:如何解决。
欢迎选择我的课程,让我们一起见证您的进步~~
Add skip-name-resolve
It is a DNS reverse query. It is feasible to set skip-name-resolve. The simplest way is: do not write the domain name in the database host configuration, use IP directly. For example: change localhost to 127.0.0.1
Add skip-name-resolve
in cnf configuration fileIt is a DNS reverse query. It is feasible to set skip-name-resolve. The simplest way is: do not write the domain name in the database host configuration, use IP directly. For example: change localhost to 127.0.0.1