MySQL _Windows 环境下 MySQL:reading initial communication packet 问题解决
来源:互联网 发布:会计毕业论文数据 编辑:程序博客网 时间:2024/06/05 03:54
最近多次 在Windows 下遇到
无法链接数据库教程(mysql)服务器, 请检查服务器地址、用户名、密码.
代码: 2013
错误: lost connection to mysql server at 'reading initial communication packet', system error: 0
网上的评论一般出现这样的问题原因是 : 服务器突然关掉。
具体原因没有深入了解: 欢迎感兴趣的同学自己下去深入了解,希望能把答案贴到回复中,帮助大家成长...
下面给出这个问题的解决方法:
1.
修改MySQL 安装目录下的配置文件 my.ini
比如安装地址 C:\Program Files (x86)\MySQL\MySQL Server 5.5 下的 my.ini 文件
2.
[mysqld]段加skip-name-resolve
在这个之前要把mysql的远程访问权限打开,或者再加skip-grant-table(不推荐)
3.重启MySQL 服务, 参考以下文章
http://blog.csdn.net/u010003835/article/details/78487880
Tips: 这样貌似只能解决一次,下一次的时候还会出现这个问题,目前没有永久解决方案,有方案的希望给予帮助!!!
阅读全文
0 0
- MySQL _Windows 环境下 MySQL:reading initial communication packet 问题解决
- mysql reading initial communication packet
- Lost connection to MySQL server at ‘reading initial communication packet
- Lost connection to MySQL server at ‘reading initial communication packet
- reading initial communication packet
- ubuntu下连接mysql时报错:Lost connection to MySQL server at 'reading initial communication packet', system
- mysql报错:Lost connection to MySQL server at 'reading initial communication packet'
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 mysql远程连接
- 连接mysql出现Lost connection to MySQL server at 'reading initial communication packet', system error: 0
- MySQL error: 2013, “Lost connection to MySQL server at 'reading initial communication packet', syste
- MySql Lost connection to MySQL server at 'reading initial communication packet', system error: 0
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
- MySQL连接出现错误 'reading initial communication packet', system error: 0
- lost connection to mysql server at 'reading initial communication packet',system error:2
- 2013 Lost connection to MySQL server at 'handshake: reading initial communication packet'
- 2013 - Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
- Lost connection to MySQL server at 'reading initial communication packet' 错误解决
- 计算机网络基础
- 第十一周【项目1
- MyEclipse WebSphere开发教程:WebSphere 7安装指南(一)
- 第十一周项目五——迷宫问题之图深度优先遍历解法
- jdk1.8 date日期的处理(二)
- MySQL _Windows 环境下 MySQL:reading initial communication packet 问题解决
- ORACLE 日期字符格式转换
- ORM系列之二:EF(2) 数据库连接
- error: expected declaration specifiers or '...' 问题解决
- 文章标题
- 【组合】Codeforces40E[Number Table]题解
- Docker安装图形界面Shipyard
- 第十一周项目实践4 BFS(广度优先搜索)基本模板
- (restriction on required library 'C:\Program Files\Java\jre1.8.0_121\lib\ext\nashorn.jar')