This article is a mirror article of machine translation, please click here to jump to the original article.

View: 18818|Reply: 0

[Source] mysql-5.7.17 ODBC installation failure reinstall tutorial

[Copy link]
Posted on 5/22/2017 3:14:52 PM | | | |
1: Action 14:16:53: INSTALL.
1: 1: MySQL Connector/ODBC 5.3 2: {17E48BE8-F0F8-42B6-82D3-7A5840694D79}
1: Action 14:16:53: FindRelatedProducts. Searching for related applications
1: Action 14:16:53: AppSearch. Searching for installed applications
1: Action 14:16:53: ValidateProductID.
1: Action 14:16:53: CostInitialize. Computing space requirements
1: Action 14:16:53: FileCost. Computing space requirements
1: Action 14:16:53: CostFinalize. Computing space requirements
1: Action 14:16:53: InstallValidate. Validating install
1: Action 14:16:53: SetARPINSTALLLOCATION.
1: Action 14:16:53: SetARPREADME.
1: Action 14:16:53: InstallInitialize.
1: Action 14:16:53: RemoveExistingProducts. Removing applications
1: Action 14:16:53: ProcessComponents. Updating component registration
1: Action 14:16:53: GenerateScript. Generating script operations for action:
1: Updating component registration
1: Action 14:16:54: UnpublishFeatures. Unpublishing product features
1: Action 14:16:54: RemoveODBC. Removing ODBC components
1: Action 14:16:54: RemoveRegistryValues. Removing system registry values
1: Action 14:16:54: RemoveFiles. Removing files
1: Action 14:16:54: InstallFiles. Copying new files
1: File: Copying new files,  Directory: ,  Size:
1: Action 14:16:54: WriteRegistryValues. Writing system registry values
1: Key: Writing system registry values, Name: , Value:
1: Action 14:16:54: InstallODBC. Installing ODBC components
1: Action 14:16:54: RegisterUser. Registering user
1: Action 14:16:54: RegisterProduct. Registering product
1: Registering product
1: Action 14:16:54: PublishFeatures. Publishing product features
1: Feature: Publishing product features
1: Action 14:16:54: PublishProduct. Publishing product information
1: Action 14:16:54: InstallFinalize.
1: Action 14:16:54: ProcessComponents. Updating component registration
1: Action 14:16:54: RemoveODBC. Removing ODBC components
1: Action 14:16:54: InstallFiles. Copying new files
1: File: ChangeLog.txt,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 58564
1: File: myodbc-installer.exe,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 4269568
1: File: myodbc-installer.pdb,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 1789952
1: File: Licenses_for_Third-Party_Components.txt,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 103161
1: File: COPYING.txt,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 18122
1: File: myodbc5a.dll,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 5419520
1: File: myodbc5S.dll,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 4387840
1: File: myodbc5S.lib,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 1916
1: File: myodbc5S.pdb,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 2043904
1: File: myodbc5w.dll,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 5417984
1: File: myodbc5a.lib,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 16478
1: File: myodbc5a.pdb,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 5459968
1: File: myodbc5w.lib,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 16658
1: File: myodbc5w.pdb,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 5451776
1: File: README.txt,  Directory: C:\Program Files\MySQL\Connector.ODBC 5.3\,  Size: 5690
1: Action 14:16:54: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 5.3, Name: Version, Value: 5.3.6
1: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 5.3, Name: , Value:
1: Action 14:16:54: InstallODBC. Installing ODBC components
1: Error 1918.Error installing ODBC driver MySQL ODBC 5.3 ANSI Driver, ODBC error 13: Unable to load the installation routine of the MySQL ODBC 5.3 ANSI Driver ODBC driver because there is a system error code 126: The specified module cannot be found. (C:\Program Files\MySQL\Connector.ODBC 5.3\myodbc5S.dll)。. Verify that the file MySQL ODBC 5.3 ANSI Driver exists and that you can access it.
1: Action 14:16:54: Rollback. Rolling back action:
1: Installing ODBC components
1: Writing system registry values
1: Copying new files
1: Removing ODBC components
1: Updating component registration
1: 1: MySQL Connector/ODBC 5.3 2: {17E48BE8-F0F8-42B6-82D3-7A5840694D79} 3: 3
1: The action 'Install' for product 'Connector/ODBC 5.3.6' failed.
mysql-5.7.17 ODBC version is 5.3.6, my computer is 64-bit, so I need to install 64-bit ODBC

Here is the tutorial to reinstall ODBC, as follows:


Solutions to failed installation:

I. It may be that Microsoft Visual C++ 2010 needs to be installed (remember to restart)

64 bit: http://www.microsoft.com/en-us/download/confirmation.aspx?id=14632

32nd: http://www.microsoft.com/en-gb/download/details.aspx?id=5555


The latest mysql version, need to be installed, Microsoft Visual C++ 2013, please download it by yourself!!

Let me tell you, my repair tutorial!

1: Download and install Microsoft Visual C++ 2010 64-bit
2: Download and install Microsoft Visual C++ 2013 64-bit
3: Reopen the mysql-5.7.17.msi installation package, select "Add" in the upper right corner, and then, select the "ODBC 5.3.6 x64" version, and then, click the arrow to the right, click "Next", as shown in the picture below: (Since I have installed it successfully, there is no x64 version in the screenshot)

4: Then the program is installed automatically, the following is a screenshot after my successful installation:



If it is still successful, please try the following method, I have not tested it myself!

If you don't like it, please refer to step 2

II. It is a general computer with 4 files in the C:\Windows\System32\ directory msvcrt.dll , msvcr100.dll, msvcr110.dll, msvcr120.dll

In the system where odbc is installed, msvcr110.dll is missing in this directory, msvcr120.dll these two files will also report the above error. After downloading both files

Just put it in C:\Windows\System32\. msvcr110.dll : http://download.csdn.net/detail/moon1107gitana/9739511

msvcr120.dll : http://download.csdn.net/detail/moon1107gitana/9739519

3. When configuring the mysql ODBC data source, some people install ODBC, but they cannot find the data source they installed in the data source

Solution: Enter the path in the computer to configure odbcC:\windows\SysWOW64\odbcad32






Previous:Authentication to host 'localhost' for user 'root' using method 'mysql_nativ...
Next:[Spring.Data.Common.dbproviders.xml] line 766
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com