原因:当远程访问mysql时,mysql会解析域名,会导致访问速度很慢

cd /etc
vi my.cnf

[mysqld] 下添加:

skip-name-resolve  

然后重启

service mysql stop
service mysql start

完美解决,速度蹭一下上去了~

相关文章:

  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
相关资源
相似解决方案