I’m new to InfluxDB and I’m trying to import data from the .txt file to my database . I copied the data from the sample data provided by the official page. I changed the name of database in the .txt file to make it match mydb. When I use the similar command it didn’t work:
$ influx -import -path=mydb_data.txt -precision=s -database=mydb
ERROR: open mydb_data.txt: no such file or directory
I don’t understand the reason. Any suggestion would be helpful to me.