The Hostname should have a URL format (example: db4free.net). Alternatively, you can use the instance's IP address. In the case of Google Cloud MySQL there is a “IPv4 address” field on the instance overview page in the Cloud Console, e.g. https://console.cloud.google.com/sql/instances/[Instance Name]/overview , so the Hostname is the Public IP address.