各類操做系統下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

相關文章
相關標籤/搜索