脚本如下: @echo off @setlocal enableextensions @cd /d "%~dp0" set InstallPath=C:\DBoxService\Server set UtilToolPath=C:\Windows\Microsoft.NET\Framework\v2.0.50727 echo Local installation folder - %InstallPath% IF NOT EXIST "%InstallPath%"
@echo off f: cd F:\mysql-win32 @echo off&setlocal enabledelayedexpansion cd bin echo ###### 停止当前数据库 ###### net stop mysql mysqld -remove echo ## sc delete mysql echo ###### 安装数据库 ###### mysqld -install echo ###### 启动数据库 ###### net start mysql echo ##
CSDN下载RedisWatcher,运行InstallWatcher.msi,默认安装在C:\Program Files (x86)\RedisWatcher,修改watcher.conf # required exepath and exename are combined to form full path exepath D:\redis exename redis-server.exe # optional fastfailMS is milliseconds after which