Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: connecting Perl with MS SQL Server on NT using ODBC

by Secalles (Initiate)
on Dec 29, 2011 at 17:47 UTC ( #945535=note: print w/ replies, xml ) Need Help??


in reply to Re^5: connecting Perl with MS SQL Server on NT using ODBC
in thread connecting Perl with MS SQL Server on NT using ODBC

I open it and i have no Data Source configured here.

I configured a SQL Server called MSSQL (in System DSN) and it worked ( the test was successful )and i'm still getting "access denied"

Should i change my code?


Comment on Re^6: connecting Perl with MS SQL Server on NT using ODBC
Re^7: connecting Perl with MS SQL Server on NT using ODBC
by poj (Priest) on Dec 29, 2011 at 17:56 UTC

    Yes, it should use that System DSN with this

    my $DBH = DBI->connect("DBI:ODBC:MSSQL",$user,$pass) or die "Couldn't +open database: $DBI::errstr\n";
    poj
      Thanks it returned no error!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-12-26 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (176 votes), past polls