zoukankan      html  css  js  c++  java
  • 如何重启MySQL服务,正确重启mysql

    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),只能先停止,再启动。 .....
  • 相关阅读:
    基于Twisted的简单聊天室
    小学题的python实现
    初识Go(8)
    初识Go(7)
    初识Go(6)
    初识Go(5)
    初识Go(4)
    初识Go(3)
    初识Go(2)
    初识Go(1)
  • 原文地址:https://www.cnblogs.com/fxfly/p/4281261.html
Copyright © 2011-2022 走看看