|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Naming one's hostname for sp_who
Date: Oct 12 2001 4:51PM
Edward J. Sabol writes:
> I'm coming into this thread a few days late, and this is only tangentially
> related, I suppose, but I have often noticed that any DBD::Sybase connections
> never list the hostname they are connecting from when I do a "sp_who". Why is
> that? Can anything be done to fix that? (We're still using 11.0.3, FYI.)
DBD::Sybase using Client Library (as does Sybase::CTlib), and Client
Library does NOT default the hostname in the connection. The hostname
can be set with the ct_con_props() call. For DBD::Sybase you can
specify the "hostname" in the DBI->connect() call - see the
DBD::Sybase man page for details.
Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler@peppler.org - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
|