I’m trying to connect a mysql database as grafana data source but I get: connect: connection refused . Grafana and mysql server both are running over Ubuntu server VM (vmware) and I can access to Grafana (which is installed as docker) using my VM IP address 192.168.1.130:3000 . Database is running in the virtual machine localhost because I insert into it datas.
I’ve tryed with localhost:3306 and with 192.168.1.130:3306 , I’ve created a user for grafana with the privileges and flush it.
I have the port 3306 open in my NAT router for localhost and 192.168.1.130 but no works.
Can you help me? Thanks.