f



DBI - get hostname?

hi,
i want to know any Info (at least the hostname) of my dbi-connection?

Is that possible?
I cant find any informations at the docu?

Why?
I have 2 (1 read/write  and 1 read-only) and i want to write seperate 
logfiles for any of them so i want to use the hostname for that.

Ideas?
Thanks!
0
Gerhard
6/14/2009 8:50:27 AM
comp.lang.perl.misc 33233 articles. 1 followers. brian (1246) is leader. Post Follow

1 Replies
1263 Views

Similar Articles

[PageSpeed] 2

found it myself

$db->get_info(13) = Localhost via UNIX socket
0
Gerhard
6/14/2009 9:08:25 AM
Reply: