Grafana application using external mysql
[database]
type = mysql
host = <YOUR_IP>:3306
name = <DATABASE_NAME>
user = <USERNAME_DATABASE>
password = <PASSWORD>
MYSQL_USER: <USERNAME_DATABASE>
MYSQL_PASSWORD: <USERNAME_DATABASE>
MYSQL_DATABASE: <DATABASE_NAME>
Do the documentation for it