Solved

connecting mysql to mssql 2012

Posted on 2014-11-17
6
392 Views
Last Modified: 2014-11-21
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
0
Comment
Question by:CASorter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40447493
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.
0
 

Author Comment

by:CASorter
ID: 40447514
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
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40447530
Which version of MySQL are you connecting to? The driver and the MySQL server should has the same versions.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:CASorter
ID: 40447571
5.3 is the highest version of the odbc driver i could find.

initial queston has version of mysql in it..   5.521
0
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40449270
Yes, MySQL 5.3.4 connector for ODBC.
Looks to me that the error that you are getting now it's a bug. Check this thread in MySQL blog.
0
 

Author Closing Comment

by:CASorter
ID: 40458084
very cumbersome...

not the answer..
the ability to connect.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question