利用doc命令启动与关闭服务 关闭mysql服务 net stop mysql 开启mysql服务 net start mysql 连接mysql 格式 mysql -h服务器主机地址 -u用户名 -p密码