Bug #60812 | Getting error 126 when adding dsn | ||
---|---|---|---|
Submitted: | 9 Apr 2011 3:27 | Modified: | 9 Mar 2012 4:21 |
Reporter: | Marcus Edwards | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 5.1.8 | OS: | Windows (win7 64bit) |
Assigned to: | Bogdan Degtyariov | CPU Architecture: | Any |
Tags: | win 7 64 bit mysql odbc |
[9 Apr 2011 3:27]
Marcus Edwards
[9 Apr 2011 3:33]
Marcus Edwards
error message
Attachment: error2.png (image/png, text), 25.83 KiB.
[9 Apr 2011 3:34]
Marcus Edwards
error message
Attachment: error4.png (image/png, text), 109.33 KiB.
[9 Apr 2011 3:34]
Marcus Edwards
error message
Attachment: error5.png (image/png, text), 41.26 KiB.
[10 Apr 2011 9:55]
Valeriy Kravchuk
What exact version, 5.1.x, do you use? Please, check http://bugs.mysql.com/bug.php?id=55495 for possible solution.
[10 Apr 2011 10:36]
Marcus Edwards
The ODBC driver version is the 5.1.8 using the mysql-connector-odbc-noinstall-5.1.8-winx64.zip installer. In reading the other info it is suggested the 64bit will install both 64bit and the 32 bit. However after installing the 64bit driver there is no sign of the 32bit driver in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI or for that matter in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ODBC Drivers directory, which I assume houses the names available to the 32bit data source administrator found in the %windir%\SysWOW64 directory. It was this reason I downloaded the 32bit driver hoping this would work, however this failed as per my original post. I look forward to a solution soon.
[27 Apr 2011 11:45]
Bogdan Degtyariov
Marcus, can you briefly describe how exactly you installed Connector/ODBC driver? Was it msi installer or you downloaded the non-install zip package and executed install.bat? MSI installer for version 5.1.8 should never try registering the driver in System32 or SysWow64. However, install.bat could do that even though the default installation directory for the driver is "Program Files (x86)\MySQL\Connector ODBC 5.1". Anyway, I set the bug status to Verified because of incorrect work of install.bat.
[30 Apr 2011 11:39]
Marcus Edwards
I downloaded the non-install zip package and executed install.bat?
[9 Mar 2012 4:21]
Bogdan Degtyariov
The problem with install.bat script is fixed now. It is registering the driver at the current location of the unpacked directory instead of WINDOWS\SYSTEM32. This bug is closed now.