Home > database >  Mysql error Packets out of order. The Expected 1 received 46. The Packet size=3158064
Mysql error Packets out of order. The Expected 1 received 46. The Packet size=3158064

Time:09-21

Mysql error Packets out of order. The Expected 1 received 46. The Packet size=

CodePudding user response:

Reference:
Do not connect the database before pcntl_fork, otherwise will be submitted to the MySQL server has gone away error,
Reason is that the child will inherit the main process of the database connection, when mysql data returned, the child can read data through this connection,
Cause data disorder,
https://bbs.csdn.net/topics/391872061
  • Related