本地服务:
net start MySQL
sc config MySQL start= auto
防火墙:
netsh advfirewall firewall add rule name=Mysql(TCP-In-3306) protocol=TCP dir=in localport=3306 action=allow
环境变量:
setx Path "%jrepath%\bin;%Path%" -m//系统环境变量
setx Path "%jrepath%\bin;%Path%" //本地环境变量
写入注册表:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_SZ /d "%%JAVA_HOME%%\bin;%%JAVA_HOME%%\jre\bin;%Path%" /f