加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

数据库navicat连接服务器报错lostconnectiontoMySQLserverat"waitingforinitialcommunication

(2019-05-18 08:41:23)
标签:

杂谈

【错误内容】:SQL Error (2013): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0

【错产生经过】:链接MySQL时出现.

【解决办法】:打开my.ini,找到[mysqld]项,在其后加入一句:skip-name-resolve,保存,重启mysql服务即可~

以上就是解决MySQL Error (2013): Lost connection to MySQL server at waiting for initial communication packet的全文介绍,希望对您学习和使用数据库有所帮助.

 

mysql 配置文件在windows下一版是在C:\ProgramData\mysql\mysql server

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有