Solved

connecting mysql to mssql 2012

Posted on 2014-11-17
6
394 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
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

 

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

Technology Partners: 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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

690 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