Commands out of sync; you can't run this command now这是什么意思呀~?

来源:百度知道 编辑:UC知道 时间:2024/09/21 17:23:47
Commands out of sync; you can't run this command now是什么意思呀

如果你在你的客户代码中得到Commands out of sync; You can't run this command now,你正在以错误的次序调用客户函数!

这可能发生,例如,如果你正在使用mysql_use_result()并且在你已经调用了mysql_free_result()之前试图执行新查询。如果你在mysql_use_result()或mysql_store_result()之间试图执行返回数据的2个查询,它也可能发生。

指令缺乏同步性,你现在不能运行这一指令。