Re: Problem with many connections
Posted by: John Zandbergen
Date: August 08, 2005 02:28AM

Weird, seems like the server is waiting for your application to free a lock?

Anyway:
It might have something to do with the results of which you are not freeing the memory.
After working with your data you should free the memory of the store-result with:
mysql_free_result(res_set);

Also, consider bringing the opening and closing of the connection outside your while-loop. You have to make and release a connection ony once as far as I can see it in your code.

HTH,
John

Options: ReplyQuote


Subject
Views
Written By
Posted
727
August 01, 2005 09:46AM
Re: Problem with many connections
406
August 08, 2005 02:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.