mysql登陆时出现ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

 有4到5天没开mysql,这天晚上打=打开phpstudy,想进去mysql练习练习,结果丢给我这个

ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

错误2013 (HY000):读取初始通信包时MySQL服务器连接丢失,系统错误0

windows进cmd命令行,输入server.msc,然后找到mysql的服务,重启一下就好了。

(听说还有更复杂的情况,我又没碰到,关我什么事,碰到了再补上)

你可能感兴趣的:(mysql登陆时出现ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0)