Solved

connecting mysql to mssql 2012

Posted on 2014-11-17
6
378 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
  • 3
  • 3
6 Comments
 
LVL 45

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 45

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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 45

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now