我有一个包含 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/