MySQL Workbench在Windows启动时崩溃

4

我刚刚安装了MySQL Workbench,但是在启动时它崩溃了,我真的不知道该怎么办。事件日志中的错误代码:

Application Error
Application that causes trobule: MySQLWorkbench.exe
version: 6.2.3.12312, 
time signature: 0x541717ae
Name of the module that causes error: KERNELBASE.dll, 
version: 6.1.7601.18409, 
time signature: 0x5315a05a
exception code: 0xe0434352
error shift: 0x000000000000940d
ID of process that cause trobule: 0x8c0
Hour of launching the application that causes error: 0x01cffc736e910602
Path of the applicatin that causes error: D:\Programy\MySQL Workbench 6.2\MySQLWorkbench.exe
Path of the module that causes error:  C:\Windows\system32\KERNELBASE.dll
Raport id: ae1d15f1-6866-11e4-8572-20689d5ba829 

并且

.NET Runtime
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at MySQL.GUI.Workbench.Program.Main(System.String[]) 

有什么办法可以解决这个问题吗?

看起来需要重新安装 Workbench。 - simon at rcl
尝试了很多次,结果都一样。 - VanDavv
请尝试以下解决方案:
  1. 尝试卸载并重新安装MySQL Workbench。
  2. 检查您的计算机是否有足够的内存和磁盘空间来运行MySQL Workbench。
  3. 确保您的计算机上已安装了最新版本的.NET Framework。
  4. 尝试以管理员身份运行MySQL Workbench。
  5. 如果您使用的是Windows 10,请尝试将MySQL Workbench设置为兼容模式。
  6. 如果问题仍然存在,请尝试在MySQL Workbench启动时禁用所有插件。
- MetaSimian
6个回答

13

遇到了同样的错误。在“mysql-workbench-community-6.2.4-winx64-noinstall.zip”中找到了“_README_FOR_ZIP_PACKAGE.txt”文件。文件内容为:

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)

我都安装了,现在它可以工作了。希望这个信息能帮助到某些人。


谢谢 - 在找到你的解决方案之前,我都快把头发拔光了。我缺少的是:Visual C++ Redistributable for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)。 - Nenad Bulatović

10
此链接安装Windows (x86,32位)的MSI安装程序,即使您使用的是64位操作系统。MySQL安装程序是32位的,但将安装32位和64位二进制文件。

输入图像描述


嗨 @Pundeet。那个解决方案有效。非常感谢。如果在64位机器上应该使用32位版本,您知道为什么下载页面上包含64位版本吗? - gerard
不确定!他们现在可能已经开始以有组织的方式进行了。 - Puneet Pandey
节省了我的时间,因为该网站非常复杂,很难找到适当的版本。 - Java Nerd
我很高兴它帮助你节省了时间。 - Puneet Pandey
2
提醒一下,这个问题仍然存在,即使过去了一年半。 - kanadianDri3

4

这个方法对我有效。我想知道为什么它过去能够工作,即是谁/什么从我的工作站卸载了该要求?无论如何,答案应该澄清,即您需要安装两个版本:X86版本和x64版本(如果您使用的是64位Windows)。如果您使用的是32位Windows,我敢打赌只安装x86版本就可以了。 - peterh

0

MySQL Workbench 8.0.... 五年后,安装文档仍然很差...

Faulting application name: MySQLWorkbench.exe, version: 8.0.19.0, time stamp: 0x5df6944b
Exception Info: System.IO.FileNotFoundException
at MySQL.GUI.Workbench.Program.Main(System.String[])

...来自https://bugs.mysql.com/bug.php?id=98207

前提条件:

  • Microsoft .NET Framework 4.5
  • Visual C++ Redistributable for Visual Studio 2019

MySQL页面上没有链接,但VC可以在“其他工具和框架”下方找到... https://visualstudio.microsoft.com/downloads/


0

由于我使用的是Win 7 64位系统,我只安装了Visual Studio 2013的64位(x64)版本,结果出现了这个错误。

我是如何解决这个问题的:

1)卸载MySQL Workbench和其他所有东西,除了MySQL Installer。

2)安装32位(x86)版本的Visual Studio 2013(除了64位版本)

3)添加MySQL Workbench和其他我想要的连接器/实用程序。

我不确定您是否需要32位或64位,但同时拥有两者对我有用...


0

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接