Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5846
  • Last Modified:

MySql ODBC connector install error 126

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
ncw
Asked:
ncw
  • 2
2 Solutions
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
ncwAuthor Commented:
@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
 
Gustav BrockCIOCommented:
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
 
ncwAuthor Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now