Link to home
Start Free TrialLog in
Avatar of HemlockPrinters
HemlockPrinters

asked on

MS SQL2005 Linked Server Setup for MySQL 7399

when I run the query: select * from openquery(TEST, 'select * from tb_alltypes')

[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize returned 0x80004005:   ].
Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error.
ASKER CERTIFIED SOLUTION
Avatar of Imal Upalakshitha
Imal Upalakshitha
Flag of Sri Lanka image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I had to do these steps; on the sql box:
* install the mysql client odbc or oledb software (watch out if you have to install 32 or 64 bit!)
* if it was ODBC; I created a system DSN name in the appropriate ODBC tool (32 vs 64 bit); and use that name in the linked server config
* if it was OLEDB; I could just use the remote server name directly without the DSN

if you clarify your setup steps, we might be able to track down the issue