修改conf结尾的文件
[meta]
dir="C:/Prgram Files/Influx Data/influx-data/meta"
[data]
dir="C:/Prgram Files/Influx Data/influx-data/data"
val-dir="C:/Prgram Files/Influx Data/influx-data/wal"
[http]
enabled=true
logging-enabled=true
trace-logging-enabled=true
query-logging-enabled=true
运行influxd.exe
浏览:localhost:8086/query
返回信息:{"error":"missing required parameter\"q\"}
作为服务运行
sc create "influxdb" binPath= "C:/Prgram Files/Influx Data/influx-data/influxd.exe"
sc delete influxdb
查看服务:services.msc