MySQL 5.1 リファレンスマニュアル :: B Errors, Error Codes, and Common Problems :: B.1 Problems and Common Errors :: B.1.2 Common Errors When Using MySQL Programs :: B.1.2.13 Commands out of sync
« B.1.2.12 Can't create/write to file

B.1.2.14 Ignoring user »
Section Navigation      [Toggle]
  • B.1.2 Common Errors When Using MySQL Programs
  • B.1.2.1 Access denied
  • B.1.2.2 Can't connect to [local] MySQL server
  • B.1.2.3 Client does not support authentication protocol
  • B.1.2.4 Password Fails When Entered Interactively
  • B.1.2.5 Host 'host_name' is blocked
  • B.1.2.6 Too many connections
  • B.1.2.7 Out of memory
  • B.1.2.8 MySQL server has gone away
  • B.1.2.9 Packet too large
  • B.1.2.10 Communication Errors and Aborted Connections
  • B.1.2.11 The table is full
  • B.1.2.12 Can't create/write to file
  • B.1.2.13 Commands out of sync
  • B.1.2.14 Ignoring user
  • B.1.2.15 Table 'tbl_name' doesn't exist
  • B.1.2.16 Can't initialize character set
  • B.1.2.17 'File' Not Found and Similar Errors

B.1.2.13. Commands out of sync

If you get Commands 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 using mysql_use_result() and try to execute a new query before you have called mysql_free_result(). It can also happen if you try to execute two queries that return data without calling mysql_use_result() or mysql_store_result() in between.

Copyright © 1997, 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices
Top / Previous / Next / Up / Table of Contents
© 2010, Oracle Corporation and/or its affiliates