Hi Grafana Support Team!
I run a grafana docker container, mySQL container and web server container on Raspberry Pi4 using docker-compose. Everything is going well. I just two minor issues with the Grafana container.
- I can’t connect to the MySQL db using localhost:3306
My initial db connection setting on grafana was as follows.
As you can see, I got an error when I use localhost:3306. I also tried 127.0.0.1:3306, but the result is the same. If I use the IP address of the Pi, then I can connect to the database, but I really need to connect to DB using localhost:3306. I think it’s possible because grafana container and db container are on the same device(raspberry pi). How can I implement it?
- Data is displayed with a delay of 1 hour in grafana
I also changed the raspberry pi timezone to GMT and local timezone and another timezone, but the result is the same.
How can I solve this problem?
This is my first post to Grafana Community. I need to quickly release this project now. I hope that you, the community team, provide me with the best solution as soon as possible.
Thanks in advance!!!