奇怪的 MySQL 弹出窗口“Mysql 安装程序正在运行社区模式”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26638238/
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 13:10:01  来源:igfitidea点击:

Strange MySQL Popup "Mysql Installer is running community mode"

mysql

提问by Vikas

I have installed a recent community version of MySQL from MySQL site. The version is 5.6.x.

我已经从 MySQL 站点安装了最新的 MySQL 社区版本。版本是5.6.x.

It was done using an installer and I also chose the option to create a MySQL service on Windows so that I can simply start the service. The service was set to not start automatically.

它是使用安装程序完成的,我还选择了在 Windows 上创建 MySQL 服务的选项,以便我可以简单地启动该服务。该服务被设置为不自动启动。

Although I am not actively using MySQL, while I am working on my PC on something else, a strange pop-up displays,

虽然我没有积极使用 MySQL,但当我在我的电脑上做其他事情时,会显示一个奇怪的弹出窗口,

MySQL Running in community mode.

MySQL 以社区模式运行。

Does something, prints on screen, and closes:

做某事,在屏幕上打印,然后关闭:

MySql installer

MySql 安装程序

I am surprised to see this and wonder: what is it doing - connecting to a remote server and doing what? Does someone know the internals and how to prevent it from connecting to a remote server?

我很惊讶地看到这一点并想知道:它在做什么 - 连接到远程服务器并做什么?有人知道内部结构以及如何防止它连接到远程服务器吗?

Could this be a security issue?

这可能是一个安全问题吗?

回答by Valdemar

Go to Control Panel> System and Security> Administrative Toolsand open Task Scheduler.

转到控制面板>系统和安全>管理工具并打开任务计划程序

In the Task Schedulernavigate to Task Scheduler Library> MySQLand select Installer.

Task Scheduler 中,导航到Task Scheduler Library> MySQL并选择Installer

From the list at the center of the window right-click ManifestUpdateand select Disable.

从窗口中央的列表中右键单击ManifestUpdate并选择Disable

Disable MySQL ManifestUpdate

禁用 MySQL ManifestUpdate

Answer found here.

答案在这里找到。

回答by ChiefTwoPencils

Since the other answers require OS interaction I figured it would be beneficial to provide the "MySQL" way.

由于其他答案需要操作系统交互,我认为提供“MySQL”方式是有益的。

I am surprised to see and wonder what is it doing and connecting to a remote server and doing what?

我很惊讶地看到并想知道它在做什么并连接到远程服务器并在做什么?

It's keeping the MySQL Product Catalogup to date. As described in the documentation,

它使MySQL 产品目录保持最新。如文档中所述,

This option uses the Windows Task Scheduler to schedule a task named "ManifestUpdate". (this is the scheduled task that is disabled the OS way)

此选项使用 Windows 任务计划程序来计划名为“ManifestUpdate”的任务。(这是OS方式禁用的计划任务)

Does someone know the internals and how to prevent it from connecting to a remote server?

有人知道内部结构以及如何防止它连接到远程服务器吗?

To prevent it from connecting you can disable it without going through the OS:

为了防止它连接,您可以在不通过操作系统的情况下禁用它:

  1. Start the MySQL installer
  2. Click the wrench image
  1. 启动 MySQL 安装程序
  2. 单击扳手图像

enter image description here

在此处输入图片说明

  1. Uncheck the checkbox to disable automatic updating
  1. 取消选中复选框以禁用自动更新

enter image description here

在此处输入图片说明

You're ready to go...

你准备好了...

This could be a security issue?

这可能是一个安全问题?

I'm not a security expert but it's connecting to the same people you trusted to get the software from so I think it's more of a nuisance than a risk.

我不是安全专家,但它与您信任的人联系以获取软件,所以我认为这更像是一种麻烦而不是风险。

Luckily, you can manually update it as needed by clicking the Catalog...button seen above and force it.

幸运的是,您可以根据需要通过单击Catalog...上面看到的按钮手动更新它并强制更新。

回答by BlueMoon93

It's just the MySQL update function.

这只是 MySQL 更新功能。

Following these http://answers.microsoft.com/en-us/windows/forum/windows_7-security/what-is-taskengexe/526f43d3-d311-4637-a19a-a76f1ce351fbyou should be able to turn it off:

按照这些http://answers.microsoft.com/en-us/windows/forum/windows_7-security/what-is-taskengexe/526f43d3-d311-4637-a19a-a76f1ce351fb,您应该可以将其关闭:

  1. Go to the Start menu.
  2. Type task scheduler and press enter.
  3. Press continue on the UAC popup.
  4. In the left pane of task scheduler, underneath Task Scheduler Local, right-click on Task Scheduler Library.
  5. In the View submenu, make sure the Show Hidden Tasks option is checked.
  6. Widen the Name column in the center pane. The hidden task that is likely at fault has a name that starts with User_Feed_Synchronization, followed by a dash and a bunch of digits inside a curly brace.
  7. Select that task in the middle pane by clicking on its name.
  8. To verify that this scheduled task is creating all those taskeng.exe processes, select the History tab in the middle pane near the middle of the screen. If you expand out the Level and Date and Time Columns, you should see a bunch of errors and date and times that are 5 minutes apart. If that's the case, then this task is the problem.
  9. On the rightmost pane, select Disable.
  10. There may be more than one scheduled task like this, so you'd need to disable any or all that were causing problems.

From an answer by Liza.Z on question "What is taskeng.exe?" on http://answers.microsoft.com/, written April 23, 2013 retrieved Feb. 22, 2016

  1. 转到“开始”菜单。
  2. 输入任务计划程序并按回车键。
  3. 在 UAC 弹出窗口上按继续。
  4. 在任务计划程序的左窗格中,在任务计划程序本地下方,右键单击任务计划程序库。
  5. 在“查看”子菜单中,确保选中“显示隐藏任务”选项。
  6. 加宽中央窗格中的名称列。可能有问题的隐藏任务的名称以 User_Feed_Synchronization 开头,后跟破折号和花括号内的一堆数字。
  7. 通过单击其名称在中间窗格中选择该任务。
  8. 要验证此计划任务是否正在创建所有这些 taskeng.exe 进程,请选择靠近屏幕中间的中间窗格中的“历史记录”选项卡。如果您展开 Level 和 Date and Time 列,您应该会看到一堆错误以及相隔 5 分钟的日期和时间。如果是这样,那么这个任务就是问题所在。
  9. 在最右侧的窗格中,选择禁用。
  10. 像这样的计划任务可能不止一个,因此您需要禁用任何或所有导致问题的任务。

来自 Liza.Z 对问题“什么是 taskeng.exe?”的回答 在http://answers.microsoft.com/ 上,写于 2013 年 4 月 23 日,检索于 2016 年 2 月 22 日

回答by JonP

It may be better not to completely disable the updater but make it check less often than once a day, which seems over the top. You can not do that without using the Task Scheduler. Double-click the "ManifestUpdate" Name in the Task Scheduler to open the Properties window and select the Triggers tab, here you can use the "Edit..." button to set the task to run as [in]frequently as you like. This is what I have done:

最好不要完全禁用更新程序,而是让它检查的频率低于每天一次,这似乎太过分了。如果不使用任务计划程序,您就无法做到这一点。双击任务计划程序中的“ManifestUpdate”名称以打开“属性”窗口并选择“触发器”选项卡,在这里您可以使用“编辑...”按钮将任务设置为 [in] 频繁运行。这就是我所做的:

ManifestUpdate Properties

清单更新属性

Be warned that the next MySQL update you do decide to install might undo anything done directly in the Task Scheduler.

请注意,您决定安装的下一个 MySQL 更新可能会撤消直接在任务计划程序中完成的任何操作。

回答by Blake

A lot of answers are suggesting disabling the updater, or having it run less frequently.

很多答案都建议禁用更新程序,或者降低它的运行频率。

If you'd like to keep it running, but not just have the console popping up to intrude on what you're doing, consider running it under another account, or checking the box to run whether or not the current user is logged in. Either of these will make it run silently in the background.

如果您想让它继续运行,但不只是让控制台弹出来干扰您正在做的事情,请考虑在另一个帐户下运行它,或者选中该框以运行,无论当前用户是否已登录。其中任何一个都会使其在后台静默运行。

Here's a screenshot of the option to run under another account

这是在另一个帐户下运行的选项的屏幕截图