InfluxDBStudio icon indicating copy to clipboard operation
InfluxDBStudio copied to clipboard

not connecting to influxdb v 2.0.9

Open umbm opened this issue 3 years ago • 7 comments

Because of the new API token structure in influxdb v2.x it's not possible to connect using username/passwd

Screenshot 2021-10-20 012610

Screenshot 2021-10-20 012639

umbm avatar Oct 19 '21 23:10 umbm

This tool cannot be connected to 2. X, InfluxDB API has changed.

vicode117 avatar Nov 09 '21 08:11 vicode117

Do you have an upgrade plan?

china-live avatar Nov 10 '21 03:11 china-live

No upgrade plan? The problem exists only for the login or for all the features? Thanks...

palmafab avatar Nov 12 '21 11:11 palmafab

Maybe you can use the v1 compat api ("influx v1 auth create").

kevin-olbrich avatar Dec 03 '21 21:12 kevin-olbrich

Thats not working because of API token structure in influxdb.

Rushmed avatar Feb 16 '22 20:02 Rushmed

Thats not working because of API token structure in influxdb.

Using the v1 compat api works excellent with influxstudio. I'm using this and can work with all databases just like an influx v1 host.

kevin-olbrich avatar Feb 16 '22 20:02 kevin-olbrich

Ok I am intersted, how to do this! Found this but not sure how to handle it. How to set 1.x-compatible username?

Got it: influx v1 auth create --username InfluxStudio --org-id YOURORGID --write-bucket YOURBUCKETID --token YOURTOKEN

Connection is fine but when I try to drop a measurement I get: image

Rushmed avatar Feb 16 '22 22:02 Rushmed