Do the database configurations persist when using cloudsql proxy?

When setting Grafana to use “localhost” for the db, pointing to the CloudSQL proxy, does anyone know if the database settings in the Grafana config actually persist? Or do they not affect how the proxy actually talks to the CloudSQL db?