RedHat Linux系統:mysql
啓動:/etc/init.d/ mysqld startsql
中止:/etc/init.d/ mysqld stoprest
重啓:/etc/init.d/ mysqld restartcmd
Ubuntu Linux系統:it
啓動:/etc/init.d/ mysql starttop
中止:/etc/init.d/ mysql stop系統
重啓:/etc/init.d/ mysql restarttar
Windows系統
cmd
啓動:net start mysql
中止:net stop mysql