MySQL & mod_ruby

Discussion in 'Ruby' started by Jesper Olsen, Sep 29, 2003.

  1. Jesper Olsen

    Jesper Olsen Guest

    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
     
    Jesper Olsen, Sep 29, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JL
    Replies:
    0
    Views:
    1,149
  2. Ravi
    Replies:
    6
    Views:
    1,411
    Suchandra Thapa
    Jul 21, 2003
  3. matthew c. mead

    Ruby DBD MySQL seg faults under mod_ruby

    matthew c. mead, Jan 26, 2004, in forum: Ruby
    Replies:
    2
    Views:
    113
    matthew c. mead
    Jan 26, 2004
  4. Robert McKinnon
    Replies:
    1
    Views:
    182
    Dave Thomas
    Mar 6, 2004
  5. Tony Targonski

    mod_ruby, Apache 2, mySQL problem

    Tony Targonski, Apr 7, 2005, in forum: Ruby
    Replies:
    0
    Views:
    94
    Tony Targonski
    Apr 7, 2005
Loading...

Share This Page