MySQL Forums
Forum List  »  Ruby

connection not closing
Posted by: Adam Hurlburt
Date: October 20, 2008 12:15PM


I am using the ruby/mysql package installed with ruby gems on ubuntu 7.10 running on an apache2 server. I have no problems connecting to the database but the connection is not closing after the script terminates. Even if I explicitly state dbhandle.close() at the end of the script. This is resulting in my connection limit being reached and I am very curious as to why this is happening. I have no problem closing the connections when logged in with root account in mysql administrator.

I do not have the code with me right now on this computer but can post it if anyone thinks it will help.



Options: ReplyQuote

Written By
connection not closing
October 20, 2008 12:15PM

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.