Hướng dẫn how do i get mysql odbc driver? - làm cách nào để tải trình điều khiển odbc mysql?

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.

Note

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:

Choosing Unicode or ANSI Driver

Connector/ODBC offers the flexibility to handle data using any character set through its Unicode-enabled driver, or the maximum raw speed for a more limited range of character sets through its ANSI driver. Both kinds of drivers are provided in the same download package, and are both installed onto your systems by the installation program or script that comes with the download package. Users who install Connector/ODBC and register it to the ODBC manager manually can choose to install and register either one or both of the drivers; the different drivers are identified by a w (for wide characters) for the Unicode driver and a for the ANSI driver at the end of the library names. For example, myodbc8w.dll versus INFO_SRC0, or INFO_SRC1 versus INFO_SRC2.

Note

Related: The previously described file names contain an "8", such as INFO_SRC0, which means they are for Connector/ODBC 8.x. File names with a "5", such as INFO_SRC4, are for Connector/ODBC 5.x.

Prerequisites

The ODBC driver is linked against the MySQL Server client library, so it inherits its dependencies for its shared libraries. For example, the MySQL Server client library depends on C++ runtime libraries.

trừu tượng

Hướng dẫn này mô tả cách cài đặt và định cấu hình Trình kết nối MYSQL/ODBC, trình điều khiển cho phép các ứng dụng ODBC liên lạc với các máy chủ MySQL và cách sử dụng nó để phát triển các ứng dụng cơ sở dữ liệu.

Trình kết nối MySQL/ODBC 8.0 được khuyến nghị sử dụng với MySQL Server 8.0, 5.7 và 5.6. Vui lòng nâng cấp lên đầu nối MySQL/ODBC 8.0.

Để biết ghi chú chi tiết các thay đổi trong mỗi bản phát hành của Trình kết nối/ODBC, hãy xem Ghi chú phát hành ODBC của đầu nối MYSQL.

Để biết thông tin pháp lý, xem các thông báo pháp lý.

Để được giúp đỡ trong việc sử dụng MySQL, vui lòng truy cập diễn đàn MySQL, nơi bạn có thể thảo luận về các vấn đề của mình với người dùng MySQL khác.

Thông tin cấp phép. & Nbsp; Sản phẩm này có thể bao gồm phần mềm của bên thứ ba, được sử dụng theo giấy phép. Trình kết nối MySQL/Hướng dẫn sử dụng thông tin giấy phép cộng đồng ODBC 8.0 có thông tin về giấy phép liên quan đến bản phát hành cộng đồng đầu nối/ODBC trong chuỗi phát hành 8.0. Trình kết nối MySQL/Hướng dẫn sử dụng thông tin giấy phép thương mại ODBC 8.0 có thông tin về giấy phép liên quan đến bản phát hành thương mại của Trình kết nối/ODBC trong chuỗi phát hành 8.0. Hướng dẫn sử dụng Thông tin về giấy phép cộng đồng ODBC của MySQL Connector/ODBC có thông tin về giấy phép liên quan đến Trình kết nối/Cộng đồng ODBC phát hành và bao gồm phiên bản 5.3. Hướng dẫn sử dụng thông tin giấy phép thương mại của MYSQL/ODBC có thông tin về giấy phép liên quan đến trình kết nối/ODBC thương mại phát hành lên đến và bao gồm phiên bản 5.3. This product may include third-party software, used under license. MySQL Connector/ODBC 8.0 Community License Information User Manual has information about licenses relating to Connector/ODBC community releases in the 8.0 release series. MySQL Connector/ODBC 8.0 Commercial License Information User Manual has information about licenses relating to Connector/ODBC commercial releases in the 8.0 release series. MySQL Connector/ODBC Community License Information User Manual has information about licenses relating to Connector/ODBC community releases up to and including version 5.3. MySQL Connector/ODBC Commercial License Information User Manual has information about licenses relating to Connector/ODBC commercial releases up to and including version 5.3.

Tài liệu được tạo vào ngày: 2022-11-01 (Sửa đổi: 74455)

Có trình điều khiển ODBC cho MySQL không?

Trình kết nối MySQL/ODBC cung cấp cả giao diện dựa trên trình điều khiển và người gốc cho cơ sở dữ liệu MySQL, với sự hỗ trợ đầy đủ cho chức năng MySQL, bao gồm các quy trình được lưu trữ, giao dịch và tuân thủ toàn bộ Unicode. provides both driver-manager based and native interfaces to the MySQL database, with full support for MySQL functionality, including stored procedures, transactions and full Unicode compliance.

Trình điều khiển ODBC MySQL ở đâu?

Bảng điều khiển mở> Công cụ quản trị> Nguồn dữ liệu ODBC (64 bit)> Tab DSN hệ thống> Thêm.Điều này sẽ khởi chạy Trình hướng dẫn nguồn dữ liệu mới.Chọn Trình điều khiển ANSI của MySQL ODBC 8.0 từ danh sách và nhấp vào Kết thúc.Control Panel > Administrative tools > ODBC Data Sources (64-bit) > System DSN tab > Add. This will launch the Create New Data Source wizard. Select MySQL ODBC 8.0 ANSI driver from the list and click Finish.

Làm cách nào để tải xuống trình điều khiển ODBC?

Chuyển đến Bắt đầu> Cài đặt> Bảng điều khiển ..
Mở biểu tượng ODBC ..
Tab DSN người dùng xuất hiện.Nhấp vào Thêm ..
Cửa sổ tạo nguồn dữ liệu mới xuất hiện.Chọn trình điều khiển thích hợp và nhấp vào Kết thúc.....
Cửa sổ thiết lập nguồn dữ liệu xuất hiện cho trình điều khiển đó.....
Bấm vào Chọn ..
Cửa sổ chọn cơ sở dữ liệu mở ra.....
Bấm OK ..

Làm thế nào để tôi biết nếu trình điều khiển ODBC được cài đặt?

Mở bảng điều khiển Windows.Mở thư mục Công cụ quản trị.Nhấp đúp vào Nguồn dữ liệu (ODBC) để mở cửa sổ Quản trị viên Nguồn dữ liệu ODBC.Nhấp vào tab Trình điều khiển và xác định vị trí mục nhập SQL Server trong danh sách trình điều khiển ODBC để xác nhận rằng trình điều khiển được cài đặt trên hệ thống của bạn.