各种操作系统下mysql服务的重启

  • RedHat Linux系统:

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

  2. 停止:/etc/init.d/ mysqld stop

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

  • Ubuntu Linux系统:

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

  2. 停止:/etc/init.d/ mysql stop

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

  • Windows系统

  1. cmd

  2. 启动:net start mysql

  3. 停止:net stop mysql

你可能感兴趣的:(各种操作系统下mysql服务的重启)