MySql 通知程序无法启动/停止/重新启动 MySql 服务

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

MySql Notifier not able to start/stop/restart MySql Service

mysqlwindows-serviceswindows-7-x64mysql-notifier

提问by Krishanu Dey

I've installed MySql 5.6 with Workbench and MySql Notifier.

我已经使用 Workbench 和 MySql Notifier 安装了 MySql 5.6。

I can start/stop the MySql Service ( Service name : MySql56 ) from Services.msc. But I'm not able to start/stop it from MySql Notifier. I'm having the following error.

我可以从 Services.msc 启动/停止 MySql 服务(服务名称:MySql56)。但我无法从 MySql Notifier 启动/停止它。我有以下错误。

enter image description here

在此处输入图片说明

I don't what's going on there. I can confirm that a service named "MySql56" is present and it starts/stops successfully from services.msc

我不知道那里发生了什么。我可以确认存在名为“MySql56”的服务并且它从 services.msc 成功启动/停止

My system is Windows 7 Professional 64 bit

我的系统是 Windows 7 Professional 64 位

回答by Developer

You must access to location: %APPDATA%\Oracle\MySQL Notifier\settings.config (C:\Users\YourUsername\AppData\Roaming\Oracle\MySQL Notifier\settings.config) and change ServiceName to MySQL56 in settings.config file

您必须访问位置:%APPDATA%\Oracle\MySQL Notifier\settings.config (C:\Users\YourUsername\AppData\Roaming\Oracle\MySQL Notifier\settings.config) 并在 settings.config 文件中将 ServiceName 更改为 MySQL56

See this: http://i.stack.imgur.com/eSXKl.png

看到这个:http: //i.stack.imgur.com/eSXKl.png

回答by user4823003

I had this same issue a few days ago but I figured out a way to fix it, hopefully it works for you as well:

几天前我遇到了同样的问题,但我想出了一种解决方法,希望它也适用于您:

right click on MySQL Notifier -> Actions -> Manage Monitored Items

右键单击 MySQL Notifier -> Actions -> Manage Monitored Items

highlight the MySQL56 entry and click the delete button

突出显示 MySQL56 条目并单击删除按钮

click the add button -> windows service, scroll down the list till you find MySQL56, highlight it and click ok

单击添加按钮 -> windows 服务,向下滚动列表直到找到 MySQL56,突出显示它并单击确定

you can now close the menu and you should be able to start/restart/stop your server as before

您现在可以关闭菜单,您应该能够像以前一样启动/重新启动/停止您的服务器

回答by Vishrant

Check if your MYSQL service is running or not. Starting below highlighted service solved my problem:

检查您的 MYSQL 服务是否正在运行。从下面突出显示的服务开始解决了我的问题:

MYSQL Service

MYSQL 服务

To start this service in windows go to Control Panel -> Administrative Tool -> Services

要在 Windows 中启动此服务,请转到 Control Panel -> Administrative Tool -> Services

回答by Saurav Prakash

In my case, I had to install a new server again using MY SQL installer

就我而言,我不得不使用 MY SQL 安装程序再次安装新服务器