MySQL error 2013

后端 未结 7 1501
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 00:50

In MySQL, how can I solve the error below?

2013: Lost connection to MySQL server at \'reading authorization packet\', system error: 0
7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-19 01:20

    I had this same issue today and it turned out to be an issue with mysql 5.6.*. After uninstalling that and installing 5.5.36, I'm not getting this error anymore.

    EDIT: On another computer, I was getting this error very consistently until I set this in my.cnf:

    [mysqld]
    max_allowed_packet = 32M
    

    Well, technically, my error was slightly different:

    _mysql_exceptions.OperationalError: (2013, "Lost connection to MySQL server at 'sending authentication information', system error: 32")

提交回复
热议问题