Page 1 of 1

ERRNO: 256

PostPosted: 05. February 2009 19:44
by dqsmith
Hi,

Just delete this question if this is not the right place to ask.

I have this error, ERRNO: 256
TEXT: SQLSTATE[HY000]: General error: 2014 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.

What might be the cause of this error.

I have installed:

Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8

MySQL client version: 5.0.51a

PHP extension: mysql


Thanks,

Re: ERRNO: 256

PostPosted: 05. February 2009 19:58
by Wiedmann
I have installed: PHP extension: mysql

Be carefull. Your problem is not with the mysql extension, you have a problem with the pdo_mysql extension. (that are two different things)

But that's a a bug in PHP's pdo_mysql extension (look through the PHP bug database).