Just replying to myself... After replacing mysql_pconnect() with mysql_connect(), the problems seems gone so far. So chances are it is a bug on the PHP side.
Regards Antoine. > Hi, > > I'm having weird errors right now, running MySQL queries from PHP as an > Apache module. Sometimes (in a seemingly random way) some queries fail > and mysql_error() displays "Commands out of sync; You can't run this > command now". I would say it seems to happen when different queries are > launched at the same time by different threads, or nearly. --------------------------------------------------------------------- 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