#39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
From: kraus at phoenix-medien dot de Date: Thu, 07 Feb 2008 12:57:18 +0000 Subject: #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-122068@lists.php.net to get a copy of this message
ID: 39858
Comment by: kraus at phoenix-medien dot de
Reported By: develar at gmail dot com
Status: Assigned
Bug Type: PDO related
Operating System: Windows XP SP2
PHP Version: 5.2.0
Assigned To: wez
New Comment:
This PDO bug makes it impossible to install Magento on Windows
platforms. See
http://www.magentocommerce.com/wiki/general/installing_on_windows_with_xampp_and_wamp
for further information.
Previous Comments:
------------------------------------------------------------------------
[2007-12-17 08:33:59] poon dot fung at gmail dot com
Same problem presist on Windows XP with PHP v5.2.5. Again, here is the
error message. When a query is executed after calling a stored
procedure.
code: HY000, msg: Cannot execute queries while other unbuffered queries
are active. Consider using PDOStatement::fetchAll(). Alternatively, if
your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
------------------------------------------------------------------------
[2007-09-12 15:20:56] timo at hhesse dot de
Well, months pass by and nothing happens... ;-(
------------------------------------------------------------------------
[2007-07-14 20:12:41] nitel_defect at yahoo dot com
What's the status of this bug?
I mean the part about any query ran after a fetchAll from a stored
procedure call, saying that there are still unfetched results. And that
happens even with a nextRowset call :)
The bug still exists in the last library from snaps, on Windows.
------------------------------------------------------------------------
[2007-07-10 13:38:46] matt dot keeble at gmail dot com
As an update to this, I'm not sure that this is a bug in PHP at all - I
believe it's a bug with MySQL. Have stumbled across this bug report
today after receiving MySQL lost connections from the MySQL command
line, and from Navicat Terminal - in both cases there was no PHP
involved at all, just an SP that calls a function in a loop which
subsequently calls another function. The SP returns the first row, but
then dies with the error message and goes into an irretrievable loop (in
Navicat).
Don't know if this will help, but thought I would share...
------------------------------------------------------------------------
[2007-06-21 12:58:38] timo at hhesse dot de
Well, this is very disappointing. A new PHP version is out and this
stupid bug has not been fixed although a solution seems to be found by
mike at we11er dot co dot uk.
I can't use PHP5 without this hacked dll on our servers. Seems like no
one feels responsible for developers on windows servers.
"There's no bug on linux so what are you talking about...?"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/39858
--
Edit this bug report at http://bugs.php.net/?id=39858&edit=1
Thread (44 messages)
- #39858 [Opn->Fbk]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Fbk->Opn]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Opn->Fbk]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Fbk->Opn]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Opn->Asn]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- #39858 [Asn->Csd]: Lost connection to MySQL server during query by a repeated call stored proced
- Bug #39858 [Csd->ReO]: Lost connection to MySQL server during query by a repeated call stored proced
- Bug #39858 [Com]: Lost connection to MySQL server during query by a repeated call stored proced
- Bug #39858 [ReO]: Lost connection to MySQL server during query by a repeated call stored proced
- Bug #39858 [ReO->Dup]: Lost connection to MySQL server during query by a repeated call stored proced
| « previous | php.bugs (#122068) | next » |
|---|