in reply to Re^2: Sql server + DBI package + freetds module = problem :)
in thread Sql server + DBI package + freetds module = problem :)
Specifying an ip address and port number is not the normal way to connect to a Sybase (or MSSQL) database ... check out the "Connecting to Sybase" section of DBD::Sybase - especially the "interface file" section.
Update: Following my own advice, you can bypass the interface files by specifying host and port in the DSN:
$dbh = DBI->connect( "dbi:Sybase:host=db1.domain.com;port=4100", $user, $passwd);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Sql server + DBI package + freetds module = problem :)
by alex452 (Novice) on Jan 25, 2007 at 16:54 UTC | |
by Anonymous Monk on Oct 12, 2011 at 02:56 UTC |