본문 바로가기
카테고리 없음

Install Odbc Drivers Windows 7

by itadsurmag1979 2020. 11. 4.


Connector/ODBC is a standardized database driver for Windows, Linux, Mac OS X, and Unix platforms. Online Documentation: MySQL Connector/ODBC Installation Instructions, Documentation and Change History.

Install Odbc Drivers Windows 7 64 Bit

Active2 years, 10 months ago

I have an existing PHP script that needs to work with data from an Access db, and the machine it's on is migrating from Win2K to Windows 7. I looked around, and Microsoft seems to say that this is still available somewhere, but I can't find any solid information about how to actually get it.

It is not an option to migrate this to another db at the moment because of other dependencies.

fieldsfields
1,6624 gold badges19 silver badges25 bronze badges

3 Answers

Use odbcad32.exe under %WINDIR%SYSWOW64, you will find all the 32bit drivers enumerated. I'm sure MS Access 32-bit ODBC driver is shipped.

-- http://social.msdn.microsoft.com/Forums/en-IE/sqldataaccess/thread/685eacc1-a670-42d4-8392-924230fa90cb

FionnualaFionnuala
85.9k7 gold badges96 silver badges133 bronze badges

Did you actually Google 'get jet odbc driver for windows 7'? I did and I found a number of possibilities, though only one of them looks like it will work.

First off, keep in mind that Jet itself has shipped as part of the OS starting with Windows 2000, so all you need are the ODBC drivers themselves.

The third Google link, Information about Jet 4.0 Service Pack 8, allows you to get the Jet ODBC DLLs (you'd need to get the version for NT4). I worried that this installer might check the OS and prevent you from installing the files, but it just runs transparently on WinXP (I'd assume the same on Vista/7, but maybe not). Since the Jet files are protected OS files, there's no danger installing an older version (a computer that's been kept up-to-date with Windows Update will already have something higher than Jet SP8, but the ODBC drivers are apparently not shipped with the OS in Win7, so this should work). If you can't get them, I can install it on my old Win95 box and send you the ODBC-specific files.

You may also have to install MDAC 2.8 to make them work (though you could register them manually, there are still non-Jet ODBC files that are needed that may or may not be installed on Windows 7). So far as I can tell the MDAC 2.8 download will be required.

Installing Odbc Drivers Windows 7

One last caveat, if it's 64-bit Windows 7, you may be out of luck if you're using the Jet ODBC driver from contexts that cannot use 32-bit components. There is no 64-bit Jet yet (that's coming with Office 2010, and is in beta). A recent SO discussion has the link to the beta of the 64-bit Jet drivers. I don't know if that includes 64-bit ODBC support or not, though I'd tend to think it doesn't.

Community
David-W-FentonDavid-W-Fenton
21.4k3 gold badges39 silver badges53 bronze badges

Here are the five steps that I did.

  1. Regsvr32 c: WindowsSysWOW64odbcconf.dll

  2. Loaded and installed 2007 Office System Driver: Data Connectivity Components from here.C: UsersHomerDownloadsODBCDownload 2007 Office System Driver Data Connectivity Components - Microsoft Download Center - Download Details_aspx.mht

  3. To use Windows 7 32-bit subsystem. You need to use the ODBC control panel here. c:windowssysWOW64odbcad32.exe I used DSNLess so I did not need this. But it does work. The one in the system32 folder gives an errors if you try to use it.

  4. My DSNLess Connection stringDSN = 'Provider=Microsoft.ACE.OLEDB.12.0;DataSource=c: inetpubwwwrootDatabasegdbhelp.mdb'

  5. Gave the IIS_Iuser account READ and WRITE rights to edit and add on the gdbhelp.mdb database.

Peter O.
22.4k9 gold badges60 silver badges72 bronze badges
ChuckChuck

Not the answer you're looking for? Browse other questions tagged ms-accesswindows-7odbc or ask your own question.

Problems can arise when deploying an application if it uses the same Open Database Connectivity (ODBC) drivers as other applications already installed on the same device. This article will discuss how developers can install custom ODBC drivers to ensure that your application's drivers are not being overwritten. When an application is deployed with ODBC on Windows, the ODBC driver must be installed into the Windows operating system. A DSN then can be created for the application to use to connect to the database. The alternative is to create a connection string without using a DSN but instead using the installed driver name.

As an example, consider an application that uses a SQL Anywhere database. A developer must consider the fact that other applications may also be using their own installations of SQL Anywhere on the same machine, without the end user knowing about it. As such, you have to consider how to prevent your SQL Anywhere components from being updated or replaced by another third-party application, outside of your control.

If another application that embeds SQL Anywhere is installed, it can potentially overwrite the ODBC driver your application installed with a different maintenance release or EBF build number, possibly incompatible with your application. The next time your application runs, the user could encounter problems that will be difficult to track down. Similarly, the installation of your program may overwrite an existing ODBC driver, potentially causing problems with other applications already installed on the machine. Worse, uninstalling another application may remove the ODBC driver that your application relies on, stopping your application before it can even start.

To prevent this, you can create your own custom driver name in the ODBC Registry on Windows, and make sure it always points to the SQL Anywhere ODBC driver that you install with your application. This way, you can ensure the location and specifics of the ODBC driver libraries that you want your application to use during normal operation, and you can ensure you will not affect the ODBC drivers of any other applications on the system if your application is updated or uninstalled.

Manually Creating the Custom ODBC Driver

The following is a walkthrough of how to create your own custom ODBC driver entry by setting specific values in the Registry by using the regedit utility. Once you understand how this works, you can use the windows API functions to open and write the specific keys you require to automate the process.

Install Oracle Odbc Driver Windows 7 64 Bit

The first thing you need to do is tell the ODBC Administrator that there is a new driver installed. You do this by adding a new string value to the 'ODBC Drivers' key of the Registry. Open 'HKEY_LOCAL_MACHINESoftwareODBCODBCINST.INIODBC Drivers' and add a new string value to this key. The name of the string value should be the name of the new driver you are creating. In your case, use 'CustomDriver.' The value for this key should be 'Installed.'

Figure 1: Adding the new ODBC driver, called 'CustomDriver,' to the Registry

Next, you need to tell the ODBC Administrator where to find the ODBC driver files for your new driver when it performs two different activities. The first tells the ODBC Administrator where to find the setup information used when a new DSN is created; the second tells the ODBC Administrator where to find the ODBC driver when an application refers to it in its connect string. To do this, add a new key to 'HKEY_LOCAL_MACHINESoftwareODBCODBCINST.INI' with the same name as the previous key you created—in your case, 'CustomDriver.' This key will need two string values created for it, one called 'Driver,' and the other called 'Setup.' The values for these strings should be the name and location of the ODBC driver you are planning to use for your application.

Figure 2: Telling the ODBC administrator where to find the ODBC driver files

At this point, your custom driver is installed and you can begin creating data sources using it, or using the driver name in a connection where you don't want to specify a DSN (for example, 'Driver=CustomDriver;UID=DBA;PWD=SQL;ENG=demo'). If you run the ODBC Data Source Administrator application (odbcad32.exe), you will see your new driver included in the list of drivers when you add a new data source. It will also appear on the 'Drivers' tab in the application.

Install Odbc Drivers Windows 7

Figure 3: The new custom driver now appears when adding new data sources

Update Odbc Drivers Windows 7


Page 1 of 2

IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD