HM-SPMS/installer/installer_win10.bat

12 lines
412 B
Batchfile
Raw Normal View History

::需要管理员权限执行
::start server
echo %CD%
set "INSTALLPATH=%cd%"
cd %INSTALLPATH%\..\database\mysql\
call Install.bat
cd %INSTALLPATH%\..\database\InfluxDB\
call InstallService.bat
set INFLUXDB_PATH= %INSTALLPATH%\..\database\InfluxDB
%INFLUXDB_PATH%\influx.exe -host localhost -port 8086 -database rqeh6000 -execute "create user rqeh6000 with password 'relyez@2019' with all privileges"