# Don't know what to put as InfluxDB Details when connecting to InfluxDB Datasource

**URL:** <https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842>\
**Category:** InfluxDB\
**Created:** [June 28, 2022, 3:04pm UTC](https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842 "2022-06-28T15:04:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadowki](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shadowki](https://community.grafana.com/u/shadowki)\
**Post date:** [June 28, 2022, 3:04pm UTC](https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842/1 "2022-06-28T15:04:04Z")

</div>

Hi All,

I’m new to Grafana and InfluxDB so maybe this is a silly question but I can’t get to figure it out.  
I want to query some data from an InfluxDB (v2.3.0+SNAPSHOT.090f681737) database with Grafana ( Grafana Enterprise 9.0.1 ). In order to do so, I’m trying to:  
GrafanaWebPage - Configuration - Data sources - Add data source - Choose InfluxDB  
Here I manage to get a connection ( below are my connection details )

Name: InfluxDb

QueryLanguage: InfluxQL

– HTTP Section –  
URL: [http://localhost:8086](http://localhost:8086)  
Access: Server (default)  
Allowed Cockies: Empty  
Timeout: Empty

– AUTH Section –  
Basic auth: False  
TLS Client Auth: False  
Skip TLS Verify: False  
Forward OAuth Identity: False  
With Credentials: False  
With CA Cer: False

–Custom HTTP Headers Section –  
Header Authorization Value Token \<Token from InfluxDB load-data/tokens\>

–InfluxDB Details Section –  
Here is where I have issues!  
Database: should be the database name [mapped to your InfluxDB 2.3 bucket]  
User: should be the username associated with your [InfluxDB 1.x compatibility authorization  
Password: should be the password associated with your [InfluxDB 1.x compatibility authorization]  
HTTP Method: GET

But the only method I found to map the database and get user and password are to use InfluxDB CLI, which is gone and not implemented as it used to be. Is this the only way I have to connect to InfluxDB?

PS: If I leave the InfluxDB Details Section empty and click on Save & Test it says “Data source is working” but can’t find any bucket or any data.

I’ve followed this manual [Use Grafana with InfluxDB OSS | InfluxDB OSS 2.3 Documentation](https://docs.influxdata.com/influxdb/v2.3/tools/grafana/?t=InfluxQL)

Thanks for the help,  
Cheers,

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [June 30, 2022, 10:03pm UTC](https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842/2 "2022-06-30T22:03:59Z")

</div>

welcome to the :grafana: forum, @shadowki

where is your influxdb running, and are you sure you are running influxQL on InfluxDB version 2.3? Thought most had migrated to flux by that point but I’m not a serious influx user…

---

<div class="post-metadata">

**Author:** ![shadowki](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shadowki](https://community.grafana.com/u/shadowki)\
**Post date:** [July 4, 2022, 6:38am UTC](https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842/3 "2022-07-04T06:38:48Z")

</div>

Hi @anon70503803, thanks for your reply!  
I switched to Flux and I was able to connect and see the buckets. I’ll stay with Flux instead of InfluxQL though I’ll have to learn Flux syntax 😅.

Cheers,

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [July 20, 2022, 12:11am UTC](https://community.grafana.com/t/dont-know-what-to-put-as-influxdb-details-when-connecting-to-influxdb-datasource/67842/4 "2022-07-20T00:11:45Z")

</div>

influxdb is slowly moving away from influxql and toward flux, so probably worthwhile. I personally think flux is super cool 😄
