Bug #31189 Could not load the setup or translator library
Submitted: 25 Sep 2007 18:19 Modified: 8 Oct 2007 10:37
Reporter: Dmitrij Lebedev Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S1 (Critical)
Version:3.51.20-winx64 OS:Windows
Assigned to: CPU Architecture:Any

[25 Sep 2007 18:19] Dmitrij Lebedev
Description:
Description:
I installed the MySQL ODBC driver on Windows Vista x64. When I try to setup
a User/System DSN then I get the following error messages:

The setup routines for the MySQL ODBC 3.51 Driver ODBC driver could not be loaded due to
system error code 126.

... and then

Could not load the setup or translator library.

How to repeat:
allways
[25 Sep 2007 21:23] MySQL Verification Team
Connector/ODBC on Windows Vista X64

Attachment: bug31189.png (image/png, text), 90.35 KiB.

[25 Sep 2007 21:25] MySQL Verification Team
Thank you for the bug report. I wasn't able to repeat on Windows Vista
X64 (I attached a picture).
[26 Sep 2007 20:11] Dmitrij Lebedev
I found problem:
When I run install.bat using x86 concole (Far) ddls was been copied to windows\system32 directory, but myodbc3i.exe put to registry windows\syswow64 path…

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver]
"Driver"="C:\\Windows\\SysWOW64\\myodbc3.dll"
"Setup"="C:\\Windows\\SysWOW64\\myodbc3S.dll"

After reinstalled using x64 cmd drivers are working normally …