写入历史记录文件时,Influx数据库错误 [英] Influx Database error when writing to history file
本文介绍了写入历史记录文件时,Influx数据库错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用influxDB.当我运行命令时从influx CLI SHOW measurements
我收到以下错误:
there was an error writing history file : open : The system file cannot find the file specified
.
I am using influxDB. when I run a command e.g. SHOW measurements
from influx CLI I get the following Error:
there was an error writing history file : open : The system file cannot find the file specified
.
我该如何解决?
推荐答案
对于Windows:
1)如下创建influx.bat文件:
1) Create the influx.bat file as below:
@ECHO OFF
SETLOCAL
SET HOME=%~dp0
"%~dp0\influx.exe" %*
ENDLOCAL
2)将其保存在与influxdb可执行文件相同的目录中. 请参见屏幕截图
2) save it in the same directory as influxdb executable files. See screenshot
这篇关于写入历史记录文件时,Influx数据库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文