Search the web
Sign In
New User? Sign Up
Mumbai_GNULinux · North Mumbai GNU/Linux User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY problem   Message List  
Reply | Forward Message #2739 of 2765 |
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




Tue Sep 16, 2008 11:11 am

kunalbharati
Offline Offline
Send Email Send Email

Forward
Message #2739 of 2765 |
Expand Messages Author Sort by Date

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...
Kunal P.Bharati
kunalbharati
Offline Send Email
Sep 16, 2008
11:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help