[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

MySQL & mod_ruby

jolsen

9/29/2003 6:19:00 PM

Is it necessary to explicitly call the close method,
on the handle returned my ruby-mysql's real_connect?

I would expect it to happen automatically when the handle goes
out of scope.

However, on a shared MySql server I have from time to time
gotten the error

'real_connect': too many connections (MysqlError).

when trying to connect. Is this just a coincidence?

Jesper