# Error conneting influxDB and influxQL

**URL:** https://f.ruuvi.com/t/error-conneting-influxdb-and-influxql/5685
**Category:** 🇬🇧 Development projects with Ruuvi products
**Created:** [7 September 2022 15:41 UTC](https://f.ruuvi.com/t/error-conneting-influxdb-and-influxql/5685 "2022-09-07T15:41:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jeph](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jeph](https://f.ruuvi.com/u/Jeph)
#### Post date: [7 September 2022 15:41 UTC](https://f.ruuvi.com/t/error-conneting-influxdb-and-influxql/5685/1 "2022-09-07T15:41:18Z")

</div>

Hello,

I am following this tutorial {[https://ruuvi.com/setting-up-raspberry-pi-as-a-ruuvi-gateway/?fbclid=IwAR3Gz-JMKZZNmLnDQPZf03SCc-YPZbxiv2WwVQ5G6H2X2hIyFI7du88f-Po](https://ruuvi.com/setting-up-raspberry-pi-as-a-ruuvi-gateway/?fbclid=IwAR3Gz-JMKZZNmLnDQPZf03SCc-YPZbxiv2WwVQ5G6H2X2hIyFI7du88f-Po)} on how to set up my raspberrypi as a Ruuvi Gateway. Im following all the steps and everything is going as expected until i get to Grafana. I’m doing as the blog post states, but when I “Save & Test” in Grafana, i get the error message: “error connectitng influxDB influxQL”. Anyone have any insight as to where i’m going wrong?

I can post more pictures if needed!

Thanks!

 ![error_message](https://f.ruuvi.com/uploads/default/original/2X/d/d1bc75ee402961f8c4310eccd9995186c896c9f8.jpeg)

---

<div class="post-metadata">

### Author: ![Chris81](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/c/7ba0ec/32.png) [@Chris81](https://f.ruuvi.com/u/Chris81)
#### Post date: [7 September 2022 19:11 UTC](https://f.ruuvi.com/t/error-conneting-influxdb-and-influxql/5685/2 "2022-09-07T19:11:52Z")

</div>

The guide is a few years old, InfluxDB and Grafana have evolved since then. When configuring the data source do you see a setting named “Query Language”? If you use the outdated InfluxDB version mentioned in the tutorial you have to select ‘Flux’ there.  
I suggest you search for a general guide on how to connect InfluxDB to Grafana with the current versions.
