Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by poj (Prior)
on Dec 29, 2011 at 17:40 UTC ( #945534=note: print w/replies, xml ) Need Help??


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

Different error

SQL Server does not exist or access denied.

I suggest using Control Panel / Administrative Tools / ODBC Data Source Administrator to test your connection parameters

poj

Replies are listed 'Best First'.
Re^6: connecting Perl with MS SQL Server on NT using ODBC
by Secalles (Initiate) on Dec 29, 2011 at 17:47 UTC

    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?

      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://945534]
help
Chatterbox?
[marto]: finding bugs, either in the CPU layer or hypervisor, finding undocumented instructions
[zentara]: are you talikng about perf?
[Discipulus]: i miss what an undocumented instructions can be, and how can be used
[zentara]: perf
[marto]: X86_instruction_li stings
[marto]: Illegal_opcode
[zentara]: marto arn't those NSA secrets? :-)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-07-28 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (428 votes). Check out past polls.