MySQL Workbench 无法在 Windows 上打开

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18673285/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 18:46:14  来源:igfitidea点击:

MySQL Workbench not opening on Windows

mysqlwindowsmysql-workbench

提问by onlinenaman

I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it's standalone, right? I have XAMPP for MySQL. Any dependency etc?

我已经下载了 Workbench 的免安装便携式版本。当我运行 exe 文件(在 Windows XP 上)时,没有任何反应。它需要运行一些 MySQL 吗?我认为它是独立的,对吧?我有用于 MySQL 的 XAMPP。任何依赖等?

回答by krokodilko

You need to install the following in order to run the current version of MySQL Workbench:

您需要安装以下内容才能运行当前版本的 MySQL Workbench:

  • Microsoft .NET Framework 4.5.2
  • Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019
  • 微软 .NET 框架 4.5.2
  • 适用于 Visual Studio 2019 的 Microsoft Visual C++ 2019 Redistributable

See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html .

请参阅:dev.mysql.com/doc/workbench/en/wb-requirements-software.html

回答by just_myles

Update 2020:

2020 年更新:

Unfortunately this is still happening:

不幸的是,这种情况仍在发生:

  1. Download .NET 4.0(My machine already had it.)
  2. Download Visual C++
  3. As the above solution states. Download the Mysql workbench installer.
  1. 下载.NET 4.0(我的机器已经有了。)
  2. 下载Visual C++
  3. 如上述解决方案所述。下载Mysql 工作台安装程序

I still don't know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.

我仍然不知道为什么,它允许我在不检查依赖项的情况下进行安装。当我安装任何应用程序时,我已经习惯了这种行为,但看不到它很烦人。我想我应该将这些个人意见排除在我的解决方案之外,但我不得不多次安装它并且遇到了某种依赖性问题。

回答by juntals01

What works for me (workbench 64bit) is that I installed Visual Studio 2015, 2017 and 2019 here is url: https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads

对我有用的(工作台 64 位)是我在此处安装了 Visual Studio 2015、2017 和 2019 网址:https: //support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c -下载

I installed both x86: vc_redist.x86.exe and x64: vc_redist.x64.exe

我安装了 x86: vc_redist.x86.exe 和 x64: vc_redist.x64.exe

回答by Bachask8

In my case, i tried all solutions but nothing worked.

就我而言,我尝试了所有解决方案,但没有任何效果。

My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)

我的 SO 是 windows 7 x64,带有所有可再发行包 (x86,x64 / 2010,2013,2015)

The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).

问题是我试图安装 x64 工作台,但由于某种原因没有工作(即使我的 SO 是 x64)。

so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/

因此,解决方案是从以下位置下载 x86 安装程序:https: //downloads.mysql.com/archives/workbench/

回答by Dissanayake

There are two prerequisite requirements need to install MySql Workbench as follows.

安装 MySql Workbench 有两个先决条件需要如下。

  1. .Net Framework 4.0
  2. Microsoft Visual C++ 2010
  1. .Net 框架 4.0
  2. 微软 Visual C++ 2010

When .Net Framework 4.0does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.

.Net Framework 4.0不存在时,您的计算机安装将被破坏。但是如果Microsoft Visual C++ 2010您的计算机不存在,那么您将继续安装但无法打开 MySql Workbench 程序。有时您将需要Microsoft Visual C++ 2013代替Microsoft Visual C++ 2010. 所以我建议安装Microsoft Visual C++ 2013.

Microsoft Visual C++ 2013

微软 Visual C++ 2013

回答by Jassi

As per the current setup on June, 2017 Here is the downloadable link for Visual C++ 2015 Redistributable package : https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe

根据 2017 年 6 月的当前设置,以下是 Visual C++ 2015 Redistributable 包的可下载链接:https: //download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist .x64.exe

Hope this will help, who are struggling with the download link.

希望这会有所帮助,正在为下载链接而苦苦挣扎的人。

Note: This is with regards to MySQL Workbench 6.3.9

注意:这是关于 MySQL Workbench 6.3.9

回答by Vijay Chenji

I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.

我已经卸载了 8.0.19(64 位)并安装了 8.0.18(64 位),现在它打开了。

回答by user2457356

I found I needed more than just the Visual C++ Redistributable 2015.

我发现我需要的不仅仅是 Visual C++ Redistributable 2015。

I also needed what's at this page. It's confusing because the titles make it ambiguous as to whether you're downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.

我还需要此页面上的内容。这很令人困惑,因为这些标题使您不清楚是下载(非常繁重的)Visual Studio 还是仅下载 Visual C++。在这种情况下,它只升级 Visual C++,并在此安装后启动 MySQL Workbench。

回答by Harish Kumar

it might be due to running of xampp or wampp server stop all services running and try to open mysql command line

可能是因为 xampp 或 wampp 服务器的运行停止所有正在运行的服务并尝试打开 mysql 命令行