Interesting. Can you open a ticket in github with this issue? Meanwhile I would suggest globally setting that setting in your mysql server, it will make it run faster with CakePHP. Alternatively I would suggest upgrading to MySQL 5.6
On Monday, June 16, 2014 2:34:35 PM UTC+2, archana goyal wrote:
-- On Monday, June 16, 2014 2:34:35 PM UTC+2, archana goyal wrote:
Hi,
My CakePHP 3 application taking more then 30 sec to load.This is not a big application I just started work on this application.
When I enable init in Config/app.php got following issue:
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. How to fix this issue.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment