Avatar of CASorter
CASorter
Flag for United States of America asked on

connecting mysql to mssql 2012

trying to connect from SSMS for MS SQL 2012 to MySQL 5.521
in order to run a stored procedure to pull data from MySQL and process it in SQL 2012

i believe i need a linked server.
to get a linked server i believe i need an ODBC connection.

i am running windows 7 professional 64 bit

when creating the linked server, not sure what to put into the provider string or location...   catalog i am assuming is the database i want to connect tol
MySQL ServerMicrosoft SQL Server

Avatar of undefined
Last Comment
CASorter

8/22/2022 - Mon
Vitor Montalvão

Yes, you need to set a linked server using ODBC but don't forget that you need to install the MySQL client in the SQL Server machine so it can has the necessary driver.
Here's a step by step on how to do it.
CASorter

ASKER
when trying to connect the ODBC i get

Connection using old (pre-4.1.1) authentication protocol refudsed (client option 'secure_auth' enabled).

i am using mySQL connector/ODBC v 5.3
Vitor Montalvão

Which version of MySQL are you connecting to? The driver and the MySQL server should has the same versions.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
CASorter

ASKER
5.3 is the highest version of the odbc driver i could find.

initial queston has version of mysql in it..   5.521
ASKER CERTIFIED SOLUTION
Vitor Montalvão

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
CASorter

ASKER
very cumbersome...

not the answer..
the ability to connect.