mysql - Laravel:服务器发送的未知类型 245。

标签 mysql laravel laravel-5.3

我有一个包含 json 类型的 MySQL 表。运行 Product->where('active', 1)->first();

PDO::prepare(): Unknown type 245 sent by the server. Please send a report to the developers 

我使用的是MySQL 5.7

最佳答案

看起来像是一个已知问题:https://laracasts.com/discuss/channels/laravel/homestead-errors-2

You could try doing "sudo apt-get update" and "sudo apt-get upgrade" to see if it's fixed in the latest version of php. There have been patches in 7.0.4 related to this at least.

关于mysql - Laravel:服务器发送的未知类型 245。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40100682/

相关文章:

php - Laravel 数据库 :table for multi where AND Or condition for multiple slected field

php - 如何按数据库中的上一个日期排序?

mysql - 创建唯一索引多列,其中一列的值为零

php - mysql更新语句总是插入

php - 仅针对特定字段的删除查询问题

php - 将 JSON 数据从 Controller 发送到 Blade 中的 View : Laravel 5. 2

Laravel Flysystem 和 Rackspace CRON 上传失败并显示 401,而按需上传正常

Laravel Mix Vue 3 - 无法编译未定义的 "TypeError: Cannot read property ' 解析“

php - laravel 模型属性数组何时被填充?

laravel-5.3 - Controller Laravel 5.3 中的全局变量