在windows中添加服务 代开DOS后,代码如下: sc create mysql binpath="G:developemnt environmentphp environmentmysql-5.6.23-winx64inmysql.exe"