写入历史记录文件时涌入数据库错误
问题描述:
我正在使用influxDB。当我运行一个命令,例如SHOW measurements
来自influx CLI我收到以下错误: there was an error writing history file : open : The system file cannot find the file specified
。写入历史记录文件时涌入数据库错误
我该如何解决这个问题?
答
对于Windows:
1)创建,如下influx.bat文件:
@ECHO OFF
SETLOCAL
SET HOME=%~dp0
"%~dp0\influx.exe" %*
ENDLOCAL
2)将其保存在同一目录influxdb可执行文件。 见screenshot