Immutable solution version
Grafana 11.5.0 can't connect to external MySQL database after upgrade from 11.3.1 version
Complete solution
Shows how to fix grafana 11.5.0 can't connect to external MySQL database after upgrade from 11.3.1 version. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
After upgrade Grafana to 11.5.0 using official Helm chart from 11.3.1 or 11.4.0 versions, the k8s pod can't start successfully returning these errors:
Steps
- Grafana 11.5.0 failing to connect to an external MySQL database after upgrading from 11.3.1/11.4.0 was fixed by upgrading to 11.6.1; the reporter confirmed the pod starts and everything works there (also verified with PostgreSQL). If Grafana won't start against your database right after an upgrade, check whether a newer patch release already fixed it before digging into your DB config.
When to use
Use this skill when you run into "Grafana 11.5.0 can't connect to external MySQL database after upgrade from 11.3.1 version".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 11.5.0, 11.3.1, 11.4.0, 11.6.1. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In gh:grafana/grafana#99774 (https://github.com/grafana/grafana/issues/99774), the reporter ran into this: After upgrade Grafana to 11.5.0 using official Helm chart from 11.3.1 or 11.4.0 versions, the k8s pod can't start successfully returning these errors: The verified resolution: Grafana 11.5.0 failing to connect to an external MySQL database after upgrading from 11.3.1/11.4.0 was fixed by upgrading to 11.6.1; the reporter confirmed the pod starts and everything works there (also verified with PostgreSQL). If Grafana won't start against your database right after an upgrade, check whether a newer patch release already fixed it before digging into your DB config.
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_EKUC4qJjCQdo_Xsqqw5qJg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Grafana 11.5.0 can't connect to external MySQL database after upgrade from 11.3.1 version <span>— Vectle</span></a>