Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana - mysql #23

Open
ruchan-ziya opened this issue May 19, 2023 · 7 comments
Open

Grafana - mysql #23

ruchan-ziya opened this issue May 19, 2023 · 7 comments

Comments

@ruchan-ziya
Copy link

After setting up the container tst_icarus database is set up and accessible via phpMyAdmin. But Graphana does not have tst_icarus as a configured DataSource. And I could not set Graphana to connect to the database.

image

The container terminal displays:

openstef-grafana | logger=tsdb.mysql t=2023-05-19T07:59:07.819527312Z level=error msg="Query error" err="dial tcp 127.0.0.1:3306: connect: connection refused"

@gecube
Copy link
Contributor

gecube commented Sep 2, 2024

Hi @ruchan-ziya
is the issue still actual?

@gecube
Copy link
Contributor

gecube commented Sep 20, 2024

o.k. I checked and really mysql password is not properly added to grafana.

@gecube
Copy link
Contributor

gecube commented Sep 23, 2024

fixed via #37

@ruchan-ziya
Copy link
Author

Still getting an error and I still see the tst_icarus is there in phpMyAdmin... Maybe it is me?

openstef-grafana | logger=tsdb.mysql t=2024-09-25T11:37:35.394429832Z level=error msg="Query error" err="dial tcp [::1]:3306: connect: connection refused"
openstef-grafana | logger=context userId=1 orgId=1 uname=admin t=2024-09-25T11:37:35.394504706Z level=info msg="Request Completed" method=GET path=/api/datasources/uid/cdyyl940ws074b/health stat

image

@gecube
Copy link
Contributor

gecube commented Sep 25, 2024

@ruchan-ziya did you try to start from scratch? I will be able to check the deployment today later. I am using docker desktop on Mac OS (MacBook Pro 2019 2,6 GHz 6-Core Intel Core i7) if it's important.

@ruchan-ziya
Copy link
Author

Yes, from scratch... I tested on a Win11 Docker Desktop.

@gecube
Copy link
Contributor

gecube commented Sep 25, 2024

worked for me on M1 after restart of influxdb-configurator

Screenshot 2024-09-25 at 15 43 29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants