MySQL error 2013

后端 未结 7 1245
被撕碎了的回忆
被撕碎了的回忆 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:22

    I was having this problem too. For me the solution was to comment out the line:

    skip_networking
    

    I simply added the comment #, like this:

    #skip_networking
    

    And then I restarted mysql and it was all good!

    Beware, this will disable all ability to make network connections to MySQL. If you are only using as localhost, it should be fine, but otherwise, watch out! :)

    0 讨论(0)
提交回复
热议问题