PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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 5:11PM

Edward J. Sabol writes:
 > > 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.
 > 
 > OK, I didn't know that you could specify it in the DBI->connect() call, so
 > that's useful to know, but it still seems to me that this is something that
 > DBD::Sybase should do automatically.

Well - getting the hostname *could* be tricky (though I guess I could
use Sys::Hostname to get it...

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