Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

[unixODBC][FreeTDS][SQL Server]Unable to connect to data source (SQL-08001)

by perlraj (Acolyte)
on Dec 12, 2012 at 08:04 UTC ( #1008467=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Driver config file odbcinst.ini
    [FreeTDS]
    ...
    Threading=0
    FileUsage=1
    DontDLClose=1
    
  2. or download this
    Perl Program
    #!/usr/bin/perl
    ...
    
    $dsn = "dbi:ODBC:DRIVER={FreeTDS};Server=$server;database=$database;";
    $dbh = DBI->connect("$dsn","$user","$password") or die "\n$DBI::errstr
    +\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008467]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (18)
As of 2015-07-31 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls