MySql,

Hope you can help.

I'm suddenly, after updgrading to MySQL 4.0.13-max-log Linux, getting the error:

(2014) Commands out of sync; You can't run this command now

On the second command I send to MySQL. First, no problem.

I'm using MyC libruary, which has worked before. Various pages on the Internet surgest I use a mysql_connect() instead of mysql_pconnect() to fix this. However, MyC seems to use:

mysql_real_connect (&mysql, host, name, pass, db, 0, NULL, 0)

To which I cannot find any logical fix. There are lots of quotes of this error in, say, Google, but no reason or fixes I can find.

I can disconnect and reconnect for every query, which does work, but is not a great idea.

Can any member surgest anything I might be able to use?

Thanks,

ben.



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to