[freetds] dbi:sybase:server SQL Server connection issue
servername\instancename
Kirk Anderson
dba_1_1 at yahoo.com
Mon Oct 11 10:59:36 EDT 2004
Problem connecting with DBI and sql server using servername\instancename. I have had no issues connecting when the servername is used.
Here is my connect :
$dbh = DBI->connect("dbi:Sybase:server=wyn-dfwimobile2", 'userid', 'password') or die 'connect';
I log into the sql database using sql query analyzer with the userid/password with no problems.
I issue the select @@servername and get wyn-dfwimobile2\synchsql
I issue hostname from the cmd prompt and get wyn-dfwimobile2
I am unable to get the right combinations to connect to this sql server using DBI. What am I missing?
Thanks in advance, Kirk
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
More information about the FreeTDS
mailing list