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 lurking in the Monastery: (12)
As of 2015-08-04 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (64 votes), past polls