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

Re: DBD::ODBC Core Driver Version

by GrandFather (Saint)
on Oct 06, 2020 at 06:28 UTC ( #11122562=note: print w/replies, xml ) Need Help??


in reply to DBD::ODBC Core Driver Version

In the Windows search bar enter ODBC then click "ODBC Data Sources (64-bit). In the popup dialog click on the Drivers tab.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^2: DBD::ODBC Core Driver Version
by dominic01 (Sexton) on Oct 06, 2020 at 06:48 UTC
    Thank you and I checked it and I do not see a ODBC Driver. However, I am able to connect to my SQL Server without any issues. I used
    $dbh = DBI->connect( "DBI:ODBC:driver={SQL Server};Server=$server;Data +base=$database;UID=$dbusername;PWD=$dbpassword", { PrintError => 1, RaiseError => 1 } )
    Also I noted another driver "SQL Server". Hope that handles the connectivity part.
      I checked it and I do not see a ODBC Driver

      See also DBD::ODBC::FAQ. On a 64 bit Windows, there are two ODBC managers:

      Why cannot I connect to my data source on Windows 64?

      If you are running a 32bit Perl on a 64bit Windows machine you will need to be aware there are two ODBC administrators and you need to create your DSNs with the right one. The ODBC Administrator you get to from Control Panel, Administrative Tools, Data Sources is the 64bit one and data sources created here will not be visible or useable from 32bit applications. The ODBC administrator you need to use for 32bit applications can be found at X:\windows\syswow64\odbcad32.exe.

      You can find more about this than you'd probably care to know at http://www.easysoft.com/developer/interfaces/odbc/64-bit.html

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2022-05-28 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?