SQLSTATE[HY000]: General error: 1390 Prepared statement contains too many placeholders
mysql 报错
排查错误
1.写入:mysql使用PDO进行写入的时候,PDO支持最大占位符为65535。
2.查询:where in 数据太多
3.查询:thinkphp/laraval框架关联模型数据太多
SQLSTATE[HY000]: General error: 1390 Prepared statement contains too many placeholders
mysql 报错
排查错误
1.写入:mysql使用PDO进行写入的时候,PDO支持最大占位符为65535。
2.查询:where in 数据太多
3.查询:thinkphp/laraval框架关联模型数据太多