Hi,When I Use InfluxDB2.6,after I Install Influx cli influxdb2-client-2.6.1 with this command
influx config create --config-name
–host-url http://localhost:8086
–org
–token
–active
The org、token info is no problem
but after excute this command,I can not get any bucket info ,such like this:
[root@dev influxdb2-client-2.6.1-linux-amd64]# ./influx bucket list
ID Name Retention Shard group duration Organization ID Schema Type
[root@dev influxdb2-client-2.6.1-linux-amd64]# ./influx query ‘from(bucket:“query_data”) |> range(start:-100h)’
Error: failed to execute query: 404 Not Found: failed to initialize execute state: could not find bucket “query_data”
how can I solve this peoblem?thanks.