简体   繁体   English

MySQL ODBC 5.3 64位安装

[英]MySQL ODBC 5.3 64-bit installation

I have run into this Problem trying to install the MySQL Connector/ODBC 5.3 64-bit Version; 我在尝试安装MySQL Connector / ODBC 5.3 64位版本时遇到了此问题; the 32-bit install runs fine. 32位安装运行正常。

I tried on Windows Server 2012 R2. 我在Windows Server 2012 R2上尝试过。 On my Windows 7 machine bothworked flawlessly. 在我的Windows 7机器上,两者均正常工作。

MySQL Connector / ODBC 5.3安装程序信息

I have found a lot of Posts suggesting - None of the tips worked: 我发现很多帖子都在暗示-这些技巧均无效:

  • to install the 64-bit Version BEFORE the 32-bit Version 在32位版本之前安装64位版本
  • to install the Microsoft Visual Studio redistributable package, both 64-bit and 32-bit (which I have installed for several years...). 安装Microsoft Visual Studio可再发行组件包,包括64位和32位(我已经安装了几年……)。 I even have the same Versions installed on the Server and on my Client. 我什至在服务器和客户端上安装了相同的版本。
  • to replace some DLLs (msvc*.dll) in C:\\windows\\syswow64 替换C:\\ windows \\ syswow64中的某些DLL(msvc * .dll)

Finally, the last Suggestion brought me on the right track: 最后,最后一条建议使我走上了正轨:

  • to replace some DLLs (msvc*.dll) in C:\\windows\\syswow64 替换C:\\ windows \\ syswow64中的某些DLL(msvc * .dll)

together with a Forum post suggesting to not use the installer but the ZIP from the Oracle site. 以及一个论坛帖子,建议不要使用安装程序,而应使用Oracle网站的ZIP。

When running the install.bat from the ZIP I finally got the correct error message: 从ZIP中运行install.bat时,我终于得到了正确的错误消息:

myodbc-installer.exe-系统错误

So I copied the MSVCR120.dll from the C:\\Windows\\System32 on my Windows 7 machine where the Installation of the 64-bit Driver was working fine before over to the C:\\Windows\\System32 Windows Server 2012 R2 machine - where indeed it was missing! 因此,我从Windows 7计算机上的C:\\ Windows \\ System32复制了MSVCR120.dll,在此之前64位驱动程序的安装工作正常,然后再复制到C:\\ Windows \\ System32 Windows Server 2012 R2计算机上-实际上它不见了! - and then Installation ran through. -然后完成安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM