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: Connect Timeout
Date: Mar 4 2002 8:37PM

Karsten Spakowski writes:
 > Hallo,
 > 
 > I will distribute the same messages on some ASE Server, if one of the
 > Server isnīt online,
 > the programm should take  the next server, without waiting the default
 > 60 seconds.
 > I have a question regarding timeout with the Sybase::DBlib Modul.
 > 
 > with the DBI Modul I can connect as follows:
 > 
 > $dbh = DBI -> connect("dbi:Sybase:timeout=2", $user, $password)
 > 
 > How can I change the connect timeout with Sybase::DBlib ?

See dbsettime() and dbsetlogintime()

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org           *or*          mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com