停止MySQL服务视窗 [英] Stop MySQL service windows

查看:96
本文介绍了停止MySQL服务视窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,需要刷新数据.因此,必须停止MySQL.
如何停止服务?

I am developing a website and need to refresh data. Therefore MySQL must be stopped.
How can I stop the service?

当我查看控制面板服务时,它是在没有停止或重新启动选项的情况下启动的.

When I look at control panel services it is started without stop or restart option.

推荐答案

在Windows上

如果使用的是Windows,请打开命令提示符并键入

If you are using windows Open the Command Prompt and type

停止MySQL服务

net stop MySQL 

启动MySQL服务

net start MySQL.

在Linux上

展开|选择|换行|行号

Expand|Select|Wrap|Line Numbers

# /etc/init.d/mysqld start
# /etc/init.d/mysqld stop
# /etc/init.d/mysqld restart

Fedora/Red Hat也支持:

Fedora / Red Hat also support this:

 Expand|Select|Wrap|Line Numbers
 # service mysqld start
 # service mysqld stop
 # service mysqld restart

我知道这个答案来晚了,但我希望它对某些人有帮助.

I know this answer is late but i hope it helps for some one.

这篇关于停止MySQL服务视窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆