Home  >  Q&A  >  body text

mysql错误,求mysql大神

mysql经常遇到下面两个错误,哪位大神遇到过
Lost connection to MySQL server during query
Malformed packet

PHPzPHPz2741 days ago1291

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:50:35

    Set max_allowed_packet to 200M and try

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 14:50:35

    I have also encountered the first one. My guesses are as follows:
    1. The graphical tools such as navicat used will have strange problems, causing the connection to be lost;
    2. It may be your sql execution Poor planning, resulting in too long time, being killed by the server, or by monitoring scripts, etc., or by the DBA.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 14:50:35

    It means that your garbage SQL statement is executed too slowly and is immediately abandoned due to timeout.

    reply
    0
  • Cancelreply