Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://293859]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2017-02-26 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.