Error Code: 2013. Lost connection to MySQL server during query

后端 未结 29 2130
深忆病人
深忆病人 2020-11-22 16:22

I got the Error Code: 2013. Lost connection to MySQL server during query error when I tried to add an index to a table using MySQL Workbench. I noticed als

29条回答
  •  Happy的楠姐
    2020-11-22 16:38

    In my case, setting the connection timeout interval to 6000 or something higher didn't work.

    I just did what the workbench says I can do.

    The maximum amount of time the query can take to return data from the DBMS.Set 0 to skip the read timeout.

    On Mac Preferences -> SQL Editor -> Go to MySQL Session -> set connection read timeout interval to 0.

    And it works

提交回复
热议问题