| Bug #10606 | I get error 126 when I install in WinXP | ||
|---|---|---|---|
| Submitted: | 12 May 2005 18:15 | Modified: | 12 May 2005 21:55 |
| Reporter: | Juhan Pelicatini | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S1 (Critical) |
| Version: | OS: | Windows (WinXP) | |
| Assigned to: | CPU Architecture: | Any | |
[12 May 2005 21:55]
MySQL Verification Team
I am able for to install and remove the driver using the installer package. Is not recommended to edit the Windows registry for possible damages in the functionality of the OS.
[12 May 2005 22:15]
Juhan Pelicatini
Thanks for your comments. I have no problem to handle window's registry, thanks for your advice. Is there any place where I can check what actually myodbc's installer does? I try to find on the www some idea of that but i can not find nothing about this subject. I think that somebody in mysql knows exactlly whats installer does, or what wrong in my procedure. thanks again.

Description: I have been trying to install MyODBC-3.51.11-2-win. I what I would like to do is install manually, that means, copy the following files in C:\Windows\System32: myodbc3.dll myodbc3.lib myodbc3S.dll myodbc3S.lib afther that I modify ODBC.INI and ODBCINST.INI as well. then I add the keys to the window's registry: HKEY_CURRENT_USER\\Software\\ODBC\\ODBC.INI\\MyProgram: and set ---> DATABASE (with the proper data values) ---> PORT ---> UID ---> PWD ---> SERVER ---> OPTION ---> Driver also, I set HKEY_CURRENT_USER\\Software\\ODBC\\ODBC.INI\\ODBC Data Sources ---> MyProgram to "mySQL ODBC 3.51 Driver" data value also, HKEY_LOCAL_MACHINE\\Sftware\\ODBC\\ODBCINST.INI\\ODBC Drivers", "MySQL ODBC 3.51 Driver" as Installed then I add the keys for set the drivers connection, in order you can see using the control panel: HKEY_LOCAL_MACHINE\\Software\\ODBC\\ODBCINST.INI\\mySQL ODBC 3.51 Driver ----> APILevel = 2 ----> ConnectFunction = YNN ----> DriverODBCVer = 03.51 ----> FileExtn = *.txt ----> FileUsage = 0 ----> Setup = C:\Windows\System32\myodbc3S.dll ----> Driver = C:\windows\System32\myodbc3.dll ----> DSNHelpFile = C:\windows\my3dsn.hlp ----> CPTimeOut = 60 ----> UsageCount = 1 ----> SQlLevel = 1 after all this changes and setup, I still get error 126. I know that this error is because the driver can not startup. Would you please give me an idea where is the problem. I also know that if I use the MyODBC installer it works fine, but I'm trying to set as silent at the time where myProgram is intalled, so the user doesn't need to click "continue" and anithing else at install time. thanks in advance for your help, have a good day How to repeat: same Suggested fix: ?