http://qs321.pair.com?node_id=165518


in reply to Problems with MySQL - "No Database Selected"

I believe $database should be "database=default".

(As this deals directly with the syntax the MySQL DBD expects, I'd consider it highly Perl related.)

Replies are listed 'Best First'.
Re: Re: Problems with MySQL - "No Database Selected"
by ninja-joe (Monk) on May 09, 2002 at 21:14 UTC
    When I change that I get this:
    DBI::db=HASH(0x823ad6c)->disconnect invalidates 1 active statement han +dle (either destroy statement handles or call finish on them before d +isconnecting) at index.cgi line 24.