in reply to Re: Identify host connected to in DBD::Oracle connection?
in thread Identify host connected to in DBD::Oracle connection?
print "Name: $dbh->{Name}\n"; returns Name: prod_01 which is the database name.
I'm hoping I might be able to determine the hostname used for the connection (which one of the nine hosts listed in the tnsnames.ora definition was used for this connection).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Identify host connected to in DBD::Oracle connection?
by kennethk (Abbot) on Sep 28, 2009 at 17:18 UTC |