Home Forums SQL Server 2005 Administering How to Create Linked Server for a MySQL database using SQL Server Management Studio RE: How to Create Linked Server for a MySQL database using SQL Server Management Studio

  • jimbojr (1/26/2015)


    For anyone still trying to do this I found that OPENQUERY is not needed and you can query the data with:

    LinkedServerName...TableName

    In my recent case, OPENQUERY is better because when reading from MySQL, it puts the processing on the MySQL server before bringing over the data. So, for instance, ORDER BY is taken care of at MySQL, then data imported.

    I was getting strange "MySQL out of memory" errors, when in fact it seems MSSQL was having the problem.

    So OPENQUERY was the solution in my particular case.

    http://www.sqlservercentral.com/Forums/Topic1655550-1550-1.aspx?Update=1