Home  >  Article  >  Operation and Maintenance  >  Solution to the ODBC connector installation error when installing MySQL in win2008 R2

Solution to the ODBC connector installation error when installing MySQL in win2008 R2

黄舟
黄舟Original
2017-05-31 10:46:342649browse

This article mainly introduces the installation of MySQL in win2008 R2. An ODBC connector installation error occurs. Friends in need can refer to

I plan to install MySQL in Windows server 2008 R2 today, but I always find that the ODBC connector is installed incorrectly, whether I use the overall MySQL installation package or a separate ODBC connector installation document! !

Finally went onlinesearched for a long time and finally solved this problem!

Operating system: Windows server 2008 R2

MySQL installation file: mysql-installer-community-5.6.24.0.msi

Why choose the above MySQL installation file? This is An installation package that can install all required MySQL files can help us quickly install MySQL.

Before installing MySQL, confirm whether your operating system has installed the MySQL dependent environment. If not, download and install it, and then install MySQL!

1,

Microsoft .NET Framework 4 Client Profile
Visual C++ Redistributable for Visual Studio 2013
During the installation of MySQL, we will find that there are still errors in the ODBC connector. Don't worry about it. The installation is complete. Then configure MySQL and the installation is complete!

The processing begins:

1. Copy and modify a DLL file:

Find "C:\Windows\System32\msvcr100_clr0400.dll", copy this DLL file, then change the file name to "msvcr100.dll", and then copy this file to the "C:\Windows\System32" directory .

2. Reinstall Connector/ODBC:

1. Start the MySQL installation program.

2. Reinstall Connector/ODBC.

The installation should be successful this time! ! !

The above is the detailed content of Solution to the ODBC connector installation error when installing MySQL in win2008 R2. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn