| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2015-07-30 06:49 UTC] hiren at aspl dot in
  [2015-07-30 06:55 UTC] requinix@php.net
 
-Status: Open
+Status: Feedback
  [2015-07-30 06:55 UTC] requinix@php.net
  [2015-08-09 04:22 UTC] php-bugs at lists dot php dot net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 12:00:01 2025 UTC | 
Description: ------------ Error is: 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. Environment: PHP 5.5.25 mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $ PDO (1.0.4dev) pdo_mysql (1.0.2) Symfony 1.4 Doctrine 1.2.4 I already tried with setting PDO::MYSQL_ATTR_USE_BUFFERED_QUERY but seems not working and still facing the error. It seems to be having some issue with mysqlnd native library. Apart I made sure that PDO library is using mysqlnd native library and not the other one: php -r "var_dump(function_exists('mysqli_get_client_stats'));" bool(true) Please help. Many thanks.