Home > Database > Mysql Tutorial > sqlserver 链接 ODBC 访问 MySql

sqlserver 链接 ODBC 访问 MySql

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:46:08
Original
1157 people have browsed it

环境:windows 2008 + sqlserver 2008 一 安装 mysql-connector-odbc-5.2.5-winx64.msi 必须安装5.2.5,安装mysql-connector-odbc-5.3.4-winx64会报错 二 配置ODBC 安装后在控制面板-》管理工具-》数据源(ODBC)-》系统DNS-》添加,必须选择ANSIDriver,否则

环境:windows 2008 + sqlserver 2008

一 安装 mysql-connector-odbc-5.2.5-winx64.msi

     必须安装5.2.5,安装mysql-connector-odbc-5.3.4-winx64会报错

二 配置ODBC

    安装后在控制面板-》管理工具-》数据源(ODBC)-》系统DNS-》添加,必须选择ANSI Driver,否则中文乱码

sqlserver 链接 ODBC 访问 MySql

三 Sqlserver中创建链接服务器

sqlserver 链接 ODBC 访问 MySql

四 测试链接服务器效果

select * from openquery(MYSQL213,'select * from Mysql表')

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Problem with tp6 connecting to sqlserver database
From 1970-01-01 08:00:00
0
0
0
Unable to connect to SQL Server in Laravel
From 1970-01-01 08:00:00
0
0
0
Methods of parsing MYD, MYI, and FRM files
From 1970-01-01 08:00:00
0
0
0
SQLSTATE: User login failed
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template