----- Original Message -----
From: "Vandana" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 3:32 PM
Subject: What does the error mesg mean


>
> I am using mysql's C API in my program. I am using a connection to
> run many queries, but I am running these queries sequentially. There are
> about 15 queries that I issue through this connection at different parts
> of my program. It works successfully most of the times, but fails at
> certain points, with an error message,
> 'Commands out of sync, you can't run this command now'

This message tell you everything.Use API function , in the wrong place.
E.g.:
if you use functions in order :

mysql_real_query()
mysql_get_server_info()

... this error occur.


regards,

Gelu

>
> What does this error mean and when does it occur? I am not able to
> determine the context in which this error occurs. Because it works
> perfectly at certain points in the program while fails at other points.
> Thanks for any help.
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to