Influx Database error when writing to history file

故事扮演 提交于 2020-01-07 03:58:09

问题


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.

How can I resolve this?


回答1:


For windows:

1) Create the influx.bat file as below:

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

2) save it in the same directory as influxdb executable files. See screenshot



来源:https://stackoverflow.com/questions/45437608/influx-database-error-when-writing-to-history-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!