ERRNO: 256

Problems with the Windows version of XAMPP, questions, comments, and anything related.

ERRNO: 256

Postby dqsmith » 05. February 2009 19:44

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,
dqsmith
 
Posts: 1
Joined: 01. February 2009 18:11

Re: ERRNO: 256

Postby Wiedmann » 05. February 2009 19:58

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).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 153 guests