0

I need create and configure a linked server to connect to MySQL in SQL Server Management Studio

This is the tutorial

I follow the instructions step by step but in the end the result is the following

enter image description here

what am I doing wrong?

please, can you help me?

1
  • 1
    Share the SQL that is being run to generate this error. An image of the error doesn't tell us anything, and if you're following the instructions and implementing them correctly, you likely wouldn't be getting the error. Commented May 26, 2020 at 13:40

1 Answer 1

1

Create a 32Bit ODBC SYSTEM dsn connection, make sure the Test connection works.

Then run the following in your SQL Server Management Studio

EXEC master.dbo.sp_addlinkedserver @server = N'<somelinkname>', @srvproduct=N'MYSQL', @provider=N'MSDASQL', @datasrc=N'<32 Bit DNS Name >'

EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'<somelinkname>',@useself=N'False',@locallogin=NULL,@rmtuser=N'<mysql user>',@rmtpassword='<mysql pwd>'
GO
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.