DBI - get hostname?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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?

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.


Re: DBI - get hostname?

found it myself

$db->get_info(13) = Localhost via UNIX socket

Site Timeline