Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 35.1Mb
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

B.3.2.12 Commands out of sync

If you getCommands out of sync; you can't run this command now in your client code, you are calling client functions in the wrong order.

This can happen, for example, if you are usingmysql_use_result() and try to execute a new query before you have calledmysql_free_result(). It can also happen if you try to execute two queries that return data without callingmysql_use_result() ormysql_store_result() in between.