/ Published in: SQL
Adding a linked server to MSSQL account - particularly a MYSQL server
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
EXEC MASTER .dbo.sp_addlinkedserver @SERVER = 'MYSQL', @srvproduct = 'MySQL', @provider = 'MSDASQL', @provstr = 'DRIVER={MySQL ODBC 5.2 Ansi Driver};SERVER=ServerName;Port=3306;USER=USERNAME;PASSWORD=PASSWORD;OPTION=3;DATABASE=DATABASE';