mysql 8.0.27 提示 Packets out of order. Expected 1 received 0. Packet size=145
dellif opened this issue · 7 comments
dellif commented
-
Your software version (Screenshot of your startup)
Software Version PHP PHP 7.2.34-24+ubuntu20.04.1 Swoole 4.7.1 Laravel 5.5.49 -
Detail description about this issue(error/log)
Uncaught exception 'Illuminate\Database\QueryException': [0]Packets out of order. Expected 1 received 0. Packet size=145 (SQL: select * from
user_extendwhere
user_id= 13182244 limit 1) called in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
-
Some
reproducible
code blocks andsteps
/** * @param array|string[] $columns * @return null|\Illuminate\Database\Eloquent\Builder|mixed|Model|object|UserExtend */ public function getByUserId(int $userId, array $columns = ['*']) { return $this->model->newQuery() ->select($columns) ->where('user_id', $userId) ->first(); }
mysql 版本是 8.0.27,现在是应用每天都会偶发一两次,都是发生在查询的时候报的错误
uptonyuan commented
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
mnizfd commented
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
mnizfd commented
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
uptonyuan commented
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。