Odbc драйвер mysql windows 10

Installing and Configuring an ODBC Driver in Windows 10 (32 / 64-bit)

This tutorial explores how to install 32-bit and 64-bit ODBC drivers in Windows 10 and create a DSN for an ODBC data source.

What is ODBC Driver and Data Source?

Open Database Connectivity (ODBC) is a standard application programming interface that allows external applications to access data from diverse database management systems. The ODBC interface provides for maximum interoperability – an application that is independent of any DBMS, can access data in various databases through a tool called an ODBC driver, which serves as an interface between an external program and an ODBC data source, i.e. a specific DBMS or cloud service.

The ODBC driver connection string is a parameterized string that consists of one or more name-value pairs separated by semi-colons. Parameters may include information about the data source name, server address and port, username and password, security protocols, SQL dialects, and many more. The required information is different depending on the specific driver and database. Here’s an example of ODBC connection string:

Devart ODBC Drivers are powerful connectors for a host of database management systems and cloud services that allow you to connect to your data from virtually any third-party application or programming language that supports the ODBC API. By a third-party application, we mean tools like Power BI, Tableau, Microsoft Excel, etc. See this page for the list of external applications that have been tested for compatibility with our drivers.

Installing ODBC Driver for Windows 10

1. Run the downloaded installer file. If you already have another version of the driver installed in the system, you will get a warning — click Yes to overwrite the old files, though it’s recommended to first uninstall the old version. If this is the first time you install Devart ODBC driver, just click Next.

2. Read and accept the license agreement, then click Next.

3. Select the installation directory for the ODBC driver and click Next.

4. In the Select Components tab, select which version of the driver to install (64-bit / 32-bit), and whether to include the help files.

5. Confirm or change the Start Menu Folder and click Next.

6. Input your activation key or choose Trial if you want to evaluate the product before getting a license. You can load the activation key by clicking on the Load Activation Key… button and selecting the license file from your machine. Click Next and then Install.

Читайте также:  Монитор acer a191hql драйвера

7. After the installation is completed, click Finish.

Configuring a DSN for ODBC Driver in Windows 10 (64-bit)

Before connecting a third-party application to a database or cloud source through ODBC, you need to set up a data source name (DSN) for the ODBC driver in the Data Source Administrator. A 64-bit version of the Microsoft Windows operating system includes both the 64-bit and 32-bit versions of the Open Database Connectivity (ODBC) Data Source Administrator tool (odbcad32.exe):

  • The 32-bit version of odbcad32.exe is located in the C: \Windows\SysWoW64 folder.
  • The 64-bit version of odbcad32.exe is located in the C: \Windows\System32 folder.

1. In your Windows Search bar, type ODBC Data Sources. The ODBC Data Sources (64 bit) and ODBC Data Sources (32 bit) apps should appear in the search results.

Alternatively, you can open the Run dialog box by pressing Windows+R, type odbcad32 and click OK.

Yet another way to open the ODBC Data Source Administrator is via the command prompt: enter cmd in the search bar and click the resulting Command Prompt button. Enter the command odbcad32 and hit Enter.

2. Since most modern computer architectures are 64-bit, we’ll select the 64-bit version of the ODBC Data Source Administrator to create a DSN for our ODBC driver. The odbcad32.exe file displays two types of data source names: System DSNs and User DSNs. A User DSN is only accessible to the user who created it in the system. A System DSN is accessible to any user who is logged in into the system. If you don’t want other users on the workstation to access your data source using the DSN, choose a User DSN.

3. In the administrator utility, click on the Add button. The Create New Data Source dialog box will display the list of installed ODBC drivers in the system. Choose the needed driver from the list. The choice of the driver is determined by the data source you are trying to connect to — for example, to access a PostgreSQL database, choose Devart OBDC Driver for PostgreSQL. Click Finish.

4. Enter a name for your data source in the corresponding field. Fill in the parameters for the ODBC connection string, which is driver-specific. In most of our ODBC drivers for databases, a connection string with basic parameters requires the user to only input their server address, port number, and login credentials, since Devart ODBC drivers allow direct access to the database without involving additional client libraries.

5. Click Test Connection to verify connectivity. If you see the Connection Successful message, click OK to save the DSN. You should now see your new DSN in the User DSN tab of the ODBC Data Source Administrator tool.

Configuring a DSN for ODBC Driver in Windows 10 (32-bit)

The steps for configuring an ODBC DSN for a 32-bit driver are practically the same as for the 64-bit driver, except for the step where you select the 32-bit version of the ODBC Data Source Administrator. Running the odbcad32 command in the Command Prompt or in the Run dialog box will start the 64-bit version of the ODBC administrator on the 64-bit Windows by default, therefore your best option is to select the 32-bit version of the administrator in the search results of the Windows search box.

Читайте также:  Драйвера для видеокарты видеокарт nvidia 9800gt

Note though that if you have both versions (32-bit and 64-bit) of the driver installed and you have configured a User DSN (in contrast to a System DSN), you will be able to use the same DSN for 32-bit and 64-bit applications (see the Platform column in the screenshot below).

In a situation where you need to use an application that is available only in 32-bit, the 32-bit ODBC driver does the trick. An example is Apache OpenOffice, which is distributed as a 32-bit application.

Step-by-step ODBC Data Source Setup in Windows 10

  1. Press Windows + R to open the Run dialog.
  2. Type in odbcad32 and click OK.
  3. In the ODBC Data Source Administrator dialog box, select the System DSN or User DSN tab.
  4. Click Add. The Create New Data Source dialog box should appear.
  5. Locate the necessary driver in the list and click Finish.
  6. In the Data Source Name and Description fields, enter the name and a description for our ODBC data source, respectively.
  7. Fill in the driver-specific connection string parameters, such as server address, port, username, password, etc.
  8. Click Test Connection to verify connectivity.
  9. Click OK to save the DSN.

If you would like to test our ODBC connectors, visit the ODBC drivers page.


Скачивание драйвера ODBC Driver for SQL Server

Применимо к: SQL Server (все поддерживаемые версии) База данных SQL Azure Управляемый экземпляр SQL Azure Azure Synapse Analytics Параллельное хранилище данных

Microsoft ODBC Driver for SQL Server — это отдельная библиотека динамической компоновки (DLL), которая содержит поддержку времени выполнения для приложений, использующих API машинного кода для подключения к SQL Server. Используйте Microsoft ODBC Driver 17 for SQL Server для создания новых и расширения существующих приложений, которым необходимо использовать новые возможности SQL Server.

Скачать для Windows

Распространяемый установщик Microsoft ODBC Driver for SQL Server версии 17 устанавливает клиентские компоненты, необходимые во время выполнения, чтобы воспользоваться преимуществами функциями нового SQL Server. При необходимости он устанавливает файлы заголовков, которые требуются для разработки приложения, использующего API ODBC. Начиная с версии 17.4.2, установщик также включает и устанавливает библиотеку проверки подлинности Microsoft Active Directory (ADAL.dll).

Версия 17.8.1 является последней общедоступной (GA) версией. Если у вас установлена предыдущая версия Microsoft ODBC Driver for SQL Server 17, то при установке версии 17.8.1 она обновляется до версии 17.8.1.

Скачать Microsoft ODBC Driver for SQL Server версии 17 (x64)
Скачать Microsoft ODBC Driver for SQL Server версии 17 (x86)

Сведения о версии

  • Номер выпуска:
  • Дата выпуска: 30 июля 2021 г.

Если вы открываете локализованную версию этой страницы и хотите просмотреть наиболее актуальное содержимое, выберите элемент Прочитать на английском в верхней части этой страницы. С версии сайта US-English вы можете скачать SSMS на других языках из числа доступных.

Читайте также:  Epson l200 драйвер сканер скачать для windows 10

Доступные языки

Этот выпуск драйвера Microsoft ODBC Driver for SQL Server доступен для установки на следующих языках:

Заметки о выпуске для Windows

Дополнительные сведения об этом выпуске для Windows см. в заметках о выпуске для Windows.

Предыдущие выпуски для Windows

Чтобы скачать предыдущие версии для Windows, см. страницу с предыдущими выпусками Microsoft ODBC Driver for SQL Server.

Загрузка для Linux и macOS

Microsoft ODBC Driver for SQL Server можно скачать и установить с помощью диспетчеров пакетов для Linux и macOS, используя соответствующие инструкции по установке.
Установка ODBC для SQL Server (Linux)
Установка ODBC для SQL Server (macOS)

Если необходимо скачать пакеты для автономной установки, все версии доступны по следующим ссылкам.

Пакеты с именем msodbcsql17-* являются последней версией. Пакеты с именем msodbcsql-* являются версией 13 драйвера.


Chapter 4 Connector/ODBC Installation

Table of Contents

This section explains where to download Connector/ODBC, and how to run the installer, copy the files manually, or build from source.

Where to Get Connector/ODBC

You can get a copy of the latest version of Connector/ODBC binaries and sources from our website at https://dev.mysql.com/downloads//connector/odbc/.

Choosing Binary or Source Installation Method

You can install the Connector/ODBC drivers using two different methods:

The binary installation is the easiest and most straightforward method of installation. You receive all the necessary libraries and other files pre-built, with an installer program or batch script to perform all necessary copying and configuration.

The source installation method is intended for platforms where a binary installation package is not available, or in situations where you want to customize or modify the installation process or Connector/ODBC drivers before installation.

If a binary distribution is not available for a particular platform, and you build the driver from the original source code.

Connector/ODBC binary distributions include an INFO_BIN file that describes the environment and configuration options used to build the distribution. If you installed Connector/ODBC from a binary distribution and experience build-related issues on a platform, it may help to check the settings that were used to build the distribution on that platform. Binary and source distributions include an INFO_SRC file that provides information about the product version and the source repository from which the distribution was produced. This information was added in Connector/ODBC 8.0.14.

Supported Platforms

Connector/ODBC can be used on all major platforms supported by MySQL according to https://www.mysql.com/en/support/supportedplatforms/database.html. This includes Windows, most Unix-like operation systems, and macOS.

On all non-Windows platforms except macOS, the driver is built against unixODBC and is expecting a 2-byte SQLWCHAR , not 4 bytes as iODBC is using. For this reason, the binaries are only compatible with unixODBC ; recompile the driver against iODBC to use them together. For further information, see Section 3.2, “ODBC Driver Managers”.

For further instructions, consult the documentation corresponding to the platform where you are installing and whether you are running a binary installer or building from source:


Поделиться с друзьями
Комп ремонт