ms+sql+server+2000链接服务器位置,sql-server – SQL Server 2000 – 链接服务器

Download the MysqL ODBC driver from MysqL.com

Install MysqL ODBC driver on Server where sql Server resides -Double Click Windows Installer file and follow directions.

Create a DSN using the MysqL ODBC driver Start-> Settings -> Control Panel -> Administrative Tools -> Data Sources (ODBC) -Click

on the System DSN tab -Click Add -Select the MysqL ODBC Driver

-Click Finish On the Login Tab: -Type a descriptive name for your DSN. -Type the server name or IP Address into the Server text Box.

-Type the username needed to connect to the MysqL database into the user text Box. -Type the password needed to connect to the MysqL

database into the password text Box. -Select the database you’d like

to start in. On the Advance Tab: Under Flags 1: -Check Don’t Optimize

column width. -Check Return Matching Rows -Check Allow Big Results

-Check Use Compressed protocol -Check BIGINT columns to INT -Check Safe Under Flags 2: -Check Don’t Prompt Upon Connect -Check Ignore #

in Table Name Under Flags 3: -Check Return Table Names for

sqlDescribeCol -Check Disable Transactions Now Test your DSN by

Clicking the Test button

Create a Linked Server in SSMS for the MysqL database SSMS (sql Server Management Studio -> Expand Server Objects -Right Click Linked

Servers -> Select New Linked Server On the General Page: -Linked

Server: Type the Name for your Linked Server -Server Type: Select

Other Data Source -Provider: Select Microsoft OLE DB Provider for

ODBC Drivers -Product name: Type MysqLDatabase -Data Source: Type

the name of the DSN you created On The Security Page -Map a login to

the Remote User and provide the Remote Users Password -Click Add

under Local server login to remote server login mappings: -Select a

Local Login From the drop down Box -Type the name of the Remote User

-Type the password for the Remote User

Change the Properties of the Provider MSDAsql Expand Providers -> Right Click MSDAsql -> Select Properties -Enable Nested queries

-Enable Level zero only (this one’s the kicker) -Enable Allow inprocess -Enable Supports ‘Like’ operator

Change settings in sql Server Surface Area Configuration for Features -Enable OPENROWSET and OPENDATASOURCE support.

Change settings in sql Server Surface Area Configuration for Services and Connections -Enable Local and Remote connections via

TCP/IP and named pipes

Stop sql Server and sql Server Agent

Start sql Server and sql Server Agent

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值