lgctc123
V2EX  ›  PHP

php 查询报错 Error while sending QUERY packet. PID=xx

  •  
  •   lgctc123 · Aug 28, 2016 · 2841 views
    This topic created in 3582 days ago, the information mentioned may be changed or developed.
    背景:使用 Yii2 命令行模式开启脚本监控 rabbitmq 队列,当队列有订单信息,执行查询,更新操作(相当于 PHP 文件写个查询,更新,使用命令行启动)

    问题:一开始监控没有问题,每过一段时间会抛出错误

    > Error while sending QUERY packet. PID=25370. The SQL being executed was: 一句 sql 语句(此 sql 直接执行没有错误).
    1 replies    2016-08-28 11:06:03 +08:00
    lynnworld
        1
    lynnworld  
       Aug 28, 2016
    数据库连接超时了?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2560 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
    ♥ Do have faith in what you're doing.