12 lines
410 B
Batchfile
12 lines
410 B
Batchfile
::需要管理员权限执行
|
|
::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 spms_db -execute "create user spms_db with password 'spms@123456' with all privileges" |