2017-08-01 54 views
0

我正在使用influxDB。当我运行一个命令,例如SHOW measurements来自influx CLI我收到以下错误: there was an error writing history file : open : The system file cannot find the file specified写入历史记录文件时涌入数据库错误

我该如何解决这个问题?

回答

2

对于Windows:

1)创建,如下influx.bat文件:

@ECHO OFF 
SETLOCAL 
SET HOME=%~dp0 
"%~dp0\influx.exe" %* 
ENDLOCAL 

2)将其保存在同一目录influxdb可执行文件。 见screenshot