Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: login to MSSQL via DBI::ODBC

by olivierp (Hermit)
on Sep 24, 2003 at 14:14 UTC ( #293859=note: print w/ replies, xml ) Need Help??


in reply to login to MSSQL via DBI::ODBC

I have experienced this on Win32 platforms with ActiveState Perl 5.8.0 when upgrading DBI to 1.3?

For some reason, DBI is not taking into account the username & password specified in the DSN.

However, the following works for me:

my $dbh=DBI->connect("dbi:ODBC:$DSN", $uname, $pwd) || die "Error: $DB +I::errstr";
HTH
--
Olivier


Comment on Re: login to MSSQL via DBI::ODBC
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-26 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls