各类操做系统下mysql服务的重启

  • RedHat Linux系统:mysql

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

  2. 中止:/etc/init.d/ mysqld stoprest

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

  • Ubuntu Linux系统:it

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

  2. 中止:/etc/init.d/ mysql stop系统

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

  • Windows系统

  1. cmd

  2. 启动:net start mysql

  3. 中止:net stop mysql

相关文章
相关标签/搜索