From: Roger Pack Date: 2008-10-21T12:22:33+09:00 Subject: Re: ruby/mysql connection close problem > I am running apache2 on ubuntu 7.10, I am calling the ruby script (that > connects and queries the database) from embedded ruby in an .rhtml file. > > I do not have the code available right now as I am posting from another > computer but can post the code if anyone thinks it will help. > > Any help appreciated, > > Thanks I suppose if you got really desperate you could use mysqlplus then hard force close the connection. descriptor_number = conn.socket a = IO.new(descriptor_number) a.close Maybe. -=R -- Posted via http://www.ruby-forum.com/.