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).
In reply to Re^2: Identify host connected to in DBD::Oracle connection?
by AlephZarro
in thread Identify host connected to in DBD::Oracle connection?
by AlephZarro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |