Solved

MySql ODBC connector install error 126

Posted on 2014-02-12
4
3,947 Views
Last Modified: 2014-04-06
When I try to install the MySql ODBC connector I get error code 126. I've tried installing on a 32bit Windows Vista PC and on a 64bit Windows7 PC. On Win7 I've installed the Microsoft Visual C++ 2010 Redistributable Package (x86) and still file myodbc5S.dll is missing.

Also tried copying C:\Windows\System32\msvcr100_clr0400.dll to C:\Windows\System32\msvcr100.dll as suggested here

Anyone got a fix for this please?
0
Comment
Question by:ncw
  • 2
4 Comments
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 200 total points
ID: 39854176
I don't believe the MSFT Visual C++ libraries include the installers for MySQL. Instead, you can download the installers here:

http://dev.mysql.com/downloads/connector/odbc/3.51.html#downloads

5.1 and 3.5 versions are available on that link.
0
 
LVL 1

Author Comment

by:ncw
ID: 39854216
@Scott: Like I say in my question, I've tried to install the Mysql ODBC connector (which yes I did download from the same place as your link) but it fails. The VC package is just a published workaround which has worked for some. I've now added a comment to a bug report.
 
I've already tried version 5.1 which gives the same error, v3.5 installs ok but MySql rejects the authentication method.
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 300 total points
ID: 39854675
I had a similar issue with the .Net connector:

    http://bugs.mysql.com/bug.php?id=66647

Look near the bottom. The solution(!) was to change the password.

/gustav
0
 
LVL 1

Author Closing Comment

by:ncw
ID: 39980979
I'm sorry I've not been able to retest yet, but EE need a response so I've accepted your comment as a solution without knowing whether it works.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

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

22 Experts available now in Live!

Get 1:1 Help Now