Lost connection to MySQL server at 'reading initial communication packet', system error: 61

丶灬走出姿态 提交于 2019-12-04 09:38:09

From Sequel Pro:

On the server, configure MySQL by editing /etc/my.cnf and comment or remove skip-networking from the [mysqld] section. Then, restart MySQL Server.

On MySQL Ver 14.14 Distrib 5.1.67, this line says

Instead of skip-networking the default is now to listen only on localhost which is more compatible and is not less secure

So commenting out bind-address = 127.0.0.1 should work - it did for me.

Try using the connection method: Local Socket/Pipe. Leave the Socket Pipe/Path empty. Enter username / password and you should be good to go.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!