Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 taking refuge in the Monastery: (13)
As of 2014-07-10 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls