一、以系统管理员身份运行cmd.exe(C:\Windows\System32),输入net start mysqlmysql
二、在电脑右击->管理->服务和应用程序->服务->mysqlsql
三、写一个批处理文件cmd