Grafana on set up on google kubernetes engine cannot connect to cloud sql (mysql)

I had setup grafana on Google Kubernetes Engine in various ways and tried to connect to the cloud sql db , but have been facing the same error, ‘dial tcp : connect: connection timed out’. I have installed grafana in 3 ways according to the following links: