• 在 Windows 下:

开始->运行->cmd
启动:net start mysql
停止:net stop mysql

无重启,必须先停止再启动!!!

 

  • 在LINUX 下:

启动:/etc/rc.d/init.d/mysqld start
停止:/etc/rc.d/init.d/mysqld stop
重启:/etc/rc.d/init.d/mysqld restart

启动:/etc/init.d/mysqld start
停止:/etc/init.d/mysqld stop
重启:/etc/init.d/mysqld restart

或(通常情况下这种方式使用的最多)

启动:service mysqld start
停止:service mysqld stop
重启:service mysqld restart

相关文章:

  • 2021-11-27
  • 2021-04-14
  • 2021-11-09
  • 2021-12-17
  • 2021-12-16
猜你喜欢
  • 2022-02-28
  • 2021-12-28
  • 2021-12-19
  • 2022-01-30
  • 2021-12-06
相关资源
相似解决方案