在用MySQL5.7连接的时候,出现了2013 - Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
1.找到windows为my.ini
2.在my.cnf配置文件中的[mysqld]区域添加skip-name-resolve,说是跳过mysql连接的DNS反向解析功能。
在用MySQL5.7连接的时候,出现了2013 - Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
1.找到windows为my.ini
2.在my.cnf配置文件中的[mysqld]区域添加skip-name-resolve,说是跳过mysql连接的DNS反向解析功能。