Home >Database >Mysql Tutorial >各种服务器重启MySQL的方法

各种服务器重启MySQL的方法

WBOY
WBOYOriginal
2016-06-07 17:02:001728browse

RedHat Linux (Fedora Core/Cent OS) 1.启动:/etc/init.d/mysqld start2.停止:/etc/init.d/mysqld stop3.重启:/etc/init.d/my

各种服务器重启MySQL的方法

[日期:2011-06-17] 来源:Linux社区  作者:shaobingj126 [字体:]

RedHat Linux (Fedora Core/Cent OS)

1.启动:/etc/init.d/mysqld start

2.停止:/etc/init.d/mysqld stop

3.重启:/etc/init.d/mysqld restart

Debian / Ubuntu Linux


1.启动:/etc/init.d/mysql start


2.停止:/etc/init.d/mysql stop


3.重启:/etc/init.d/mysql restart

Windows

1.点击“开始”->“运行”(快捷键Win+R)

2.启动:输入 net stop mysql

3.停止:输入 net start mysql

提示

Redhat Linux 也支持service command,

启动:# service mysqld start

停止:# service mysqld stop

重启:# service mysqld restart

Windows下不能直接重启(restart),只能先停止,再启动。

linux

  • 0
  • Linux和Windows下重启MySQL方法

    Oracle中DDL和DML指什么?

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Previous article:MySQL实现远程登录Next article:db2 增加删除分区