Re: DSN retrievable from DBI?
Vincent Veyron <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 07 Mar 2014 17:57:26 +1100 Ron Savage <[email protected]> wrote: > > Is it possible to get back from DBI, or (preferably) $dbh, the DSN used > in the call to connect? > You can retrieve the db and username with this : http://search.cpan.org/dist/DBI/DBI.pm#Database_Handle_Attributes -- Regards, Vincent Veyron http://libremen.com/ Legal case, contract and insurance claim management software