If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Linking to MYSQL from MSSQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-13-04, 09:17
jonmy7 jonmy7 is offline
Registered User
 
Join Date: Aug 2004
Posts: 1
Linking to MYSQL from MSSQL

Hi All

I am having problems setting linking to a MYSQL from MSSQL (both installed on same machine).

I can connect to a MySQL database (called 'test') via the command line MYSQL and also with the MySQL Control Centre.

I have MyODBC with the following data:
DSN Name: MYSQLDSN
Description: MySQL ODBC 3.51 Driver DSN
Host: localhost
User: root
PW: root
Port: 3306

Clicking "test data source" indicates that the datasource works okay.

Now, in MSSQL Enterprise I try to create a linked server. I select:
Microsoft OLE DB Provider for ODBC Drivers

1) I am assuming that this will work with MyODBC

I enter a Provider String of:
Driver={mySQL};Server=localhost;Option=0;Database= test

2) What am I missing here?

When I click on my linked server I get:
"Error 7399: OLE DB provider 'MSDASQL' reported and error. The provider did not give any information about the error."

Win2000AdvSvr
MSSQL2000
MYSQL4.0.2

Many thanks for any suggestions getting MSSQL to Link with MYSQL
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On