lecosson / assql

Automatically exported from code.google.com/p/assql
0 stars 0 forks source link

Using disconnect #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Disconnect from database after retriving ResultSet

What version of the product are you using? On what operating system?
2.8

Please provide any additional information below.
Hi, Could you give me an example for using the disconnect function
retriving the ResultSet. Currently I get an error message that says "Error:
It seems there is still a pending qeury operation. Disconnect should be
called after all queries are completed".
Thanks

Original issue reported on code.google.com by sreeraj2...@gmail.com on 18 May 2009 at 9:12

GoogleCodeExporter commented 9 years ago
Looking for a follow up to the disconnect. 

Original comment by smedwa...@gmail.com on 1 Oct 2009 at 5:56

GoogleCodeExporter commented 9 years ago
Still looking for a follow up :( 
Pls help

Original comment by sreeraj2...@gmail.com on 1 Oct 2009 at 12:05

GoogleCodeExporter commented 9 years ago
Yes it appears that the program after the query does not quit correctly and the
connection to mysql remains, and any subsequent query etc creates a new 
connection.
The only work around for me is to tell mysql in admin to disconnect after 10
seconds.Problem is most do not have control over their mysql hosting.  This has 
other
issues with people trying to host or connect on a non-server OS.. xp etc as the
conncurrent connections is exceeded after a couple days of running.

I'm not sure what version i'm using i think it's 1 year old.

Original comment by beampr...@beams.com on 24 Apr 2010 at 5:18