influxdata / influxdb-comparisons

Code for comparison write ups of InfluxDB and other solutions
MIT License
306 stars 112 forks source link

The following databases already exist in the data store: _monitoring, _tasks #210

Open LiuMicheal opened 2 years ago

LiuMicheal commented 2 years ago

When I use _bulk_data_gen | bulk_loadinflux -urls http://localhost:8086, I get the following output:

using random seed 40576053 2022/07/22 03:46:02 Using sampling interval 10s 2022/07/22 03:46:02 Using cardinality of 9 2022/07/22 03:46:02 daemon URLs: [http://localhost:8086] 2022/07/22 03:46:02 Ingestion rate control is off 2022/07/22 03:46:02 Using InfluxDB API version 2 2022/07/22 03:46:02 SysInfo: 2022/07/22 03:46:02 Current GOMAXPROCS: 8 2022/07/22 03:46:02 Num CPUs: 8 2022/07/22 03:46:02 The following databases already exist in the data store: _monitoring, _tasks. If you know what you are doing, run the command: curl 'http://localhost:8086/query?q=drop%20database%20benchmark_db'

and i fail.

What can i do next? _monitoring, _tasks are the default bucket and i cannot remove them. Thanks!

AkramBensalem commented 1 year ago

Any update on this issue ??

antondavidsen commented 1 year ago

You can omit the fatal log by passing the -do-abort-on-exist parameter eg. bulk_load_influx -urls http://localhost:8086 -do-abort-on-exist=0

tinysun212 commented 3 months ago

You can omit the fatal log by passing the -do-abort-on-exist parameter eg. bulk_load_influx -urls http://localhost:8086 -do-abort-on-exist=0

I had the same problem and it was solved. Thank you so much.