"Commands out of sync" error with mysql calls
| From: | Willem Bison | Date: | Wed, 23 Oct 2002 09:03:14 +0000 |
| Subject: | "Commands out of sync" error with mysql calls | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121043@lists.php.net to get a copy of this message | ||
I'm getting lots of random "Commands out of sync; You can't run this
command now" errors when calling mysql_query(). I'm pretty sure this has
started after upgrading to 4.2.3. The only way to stop it is restarting
apache. I can't see any pattern in the errors: it happens on different
tables, long/slow queries etc. Once the error starts occuring, it happens
with about 1/3 of all queries.
mysql client api: 3.23.39
mysql server: 3.23.44
apache 1.3.26
php: 4.2.3
red-hat 7.3