Hello Friends,
I m using mysql pdo driver for php. I m getting this error in windows
server 2003:
Error: 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.
Tried it with different PHP installations(5.2.4, 5.2.5, 5.4.6) but
still doesnt work.
The code works perfectly on Linux. But the client is using windows
server 2003.
Plz help.
Thanx,
Kunal