1. 程式人生 > >安裝MySQL Workbench 6.3.4 CE (winx64)出錯KERNELBASE.dll的解決方案

安裝MySQL Workbench 6.3.4 CE (winx64)出錯KERNELBASE.dll的解決方案

在 oracle 的官網下載了 mysql-workbench-community-6.3.4-winx64-noinstall.zip 的壓縮包,解壓之後在 Windows 7 (64位) 機器上面執行,報錯如下:

報錯資訊 寫道 問題事件名稱: APPCRASH
應用程式名: MySQLWorkbench.exe
應用程式版本: 6.3.4.0
應用程式時間戳: 55758818
故障模組名稱: KERNELBASE.dll
故障模組版本: 6.1.7601.17514
故障模組時間戳: 4ce7c78c
異常程式碼: e0434352
異常偏移: 000000000000a49d
OS 版本: 6.1.7601.2.1.0.256.48
區域設定 ID: 2052
其他資訊 1: 367e
其他資訊 2: 367e805d0e7c1ec3f63b05bb5ce5c416
其他資訊 3: 4d57
其他資訊 4: 4d57238a798bdf861a4d84c48ca0bf52

在google上面找了一下,發現了官網給出的內容:

連結: http://bugs.mysql.com/bug.php?id=61969

最有用的連結: http://stackoverflow.com/questions/26864653/mysql-workbench-crash-on-start-on-windows

內容如下:

寫道 got same error. found "_README_FOR_ZIP_PACKAGE.txt" file in "mysql-workbench-community-6.2.4-winx64-noinstall.zip." file says
------------------------------------------
MySQL Workbench needs the following prerequisites:

Microsoft .NET Framework 4 Client Profile (http://www.microsoft.com/download/en/details.aspx?id=17113)
Visual C++ Redistributable for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)

我發現原來在  mysql-workbench-community-6.3.4-winx64-noinstall.zip

  解壓之後的檔案家裡面就有解決方案的檔案說明,檔案如下:_README_FOR_ZIP_PACKAGE.txt

內容如下:

寫道 This readme describes the dependencies of MySQL Workbench when installed from the zip package on Windows.

The normal setup using the msi package or an installation using the MySQL Installer both check if
any of the prerequisites MySQL Workbench needs are missing on the target system and warns the user
about this. Additionally, both allow to download the missing prerequisites.

This doesn't happen when using the zip package and if any of the prerequisites is missing
MySQL Workbench will refuse to work without a good error message. So make sure you installed everything.

MySQL Workbench needs the following prerequisites:

Microsoft .NET Framework 4 Client Profile (http://www.microsoft.com/download/en/details.aspx?id=17113)
Visual C++ Redistributable for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)

Depending on which MySQL Workbench package you downloaded you either need the 32bit or 64bit version of the
Visual C++ runtime. It is essential that you pick the correct architecture.

然後我就下載了上面提到的

Microsoft .NET Framework 4 Client Profile (http://www.microsoft.com/download/en/details.aspx?id=17113)
Visual C++ Redistributable for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)

安裝之後,mysql-workbench正常執行。

【備註】大家注意一下,不同版本mysql-workbench的裡面這個_README_FOR_ZIP_PACKAGE.txt檔案的內容是不一樣的,需要根據_README_FOR_ZIP_PACKAGE.txt裡面的內容下載不同的補丁。