Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 HHVM 与 mysql 5.7 一起使用。所有使用 JSON 列的查询都以SQLSTATE[HY000]: General error. 不访问 JSON 列的查询工作正常。我如何设法使这些查询正常工作?HHVM 不支持 mysql 5.7 吗?
SQLSTATE[HY000]: General error
似乎是 hhvm PDO 实现的问题。对我来说PDO::ATTR_EMULATE_PREPARES = true修好了。
PDO::ATTR_EMULATE_PREPARES = true