dosubot[bot] commented on issue #8633: URL: https://github.com/apache/incubator-devlake/issues/8633#issuecomment-3488737010
<!-- Greeting --> Hi @Carloscampos9262! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-devlake team. <!-- Answer --> This issue is likely caused by a misconfiguration in the Grafana MySQL datasource. DevLake's dashboards require the datasource to connect to the MySQL service using the hostname `mysql` (not `localhost`). The default deployment for v1.0-beta1 sets this up via environment variables, but if the datasource in Grafana is still pointing to `localhost:3306`, queries will fail and dashboards won't display data. To fix this, check the Grafana datasource configuration (in Grafana UI: Configuration → Data Sources → MySQL) and ensure the host is set to `mysql:3306`. If it's not, update it and save. If you are using Helm, make sure your deployment's environment variables (like `MYSQL_URL`) reference `mysql:3306` as shown in the [deployment YAML](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/devops/deployment/k8s/k8s-deploy.yaml#L23-L118). Also, confirm that the MySQL pod is running and accessible from the Grafana pod. If you continue to see errors, check the logs for both Grafana and MySQL for connection or authentication issues. For more details, see the note in the QA Release Plan: ["Make sure DB connection string uses host name `mysql`"](https://github.com/apache/incubator-devlake/wiki/QA-Release-Plan). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4c99759d-1798-4bf7-9baf-fade1a00c090?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8633) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
