Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: DBD::ODBC Core Driver Version

by dominic01 (Sexton)
on Oct 06, 2020 at 06:48 UTC ( #11122563=note: print w/replies, xml ) Need Help??

in reply to Re: DBD::ODBC Core Driver Version
in thread DBD::ODBC Core Driver Version

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.

Replies are listed 'Best First'.
Re^3: DBD::ODBC Core Driver Version
by afoken (Canon) on Oct 06, 2020 at 19:09 UTC
    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


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2022-05-21 00:56 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (76 votes). Check out past polls.