How to Install and Uninstall cloudsql-proxy Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "cloudsql-proxy" package

This guide let you learn how to install cloudsql-proxy on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cloudsql-proxy

2. Uninstall "cloudsql-proxy" package

This is a short guide on how to uninstall cloudsql-proxy on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove cloudsql-proxy $ sudo apt autoclean && sudo apt autoremove

3. Information about the cloudsql-proxy package on Ubuntu 20.10 (Groovy Gorilla)

Package: cloudsql-proxy
Architecture: amd64
Version: 1.17.0-3
Built-Using: golang-1.14 (= 1.14.3-2ubuntu1), golang-bazil-fuse (= 0.0~git20160811.0.371fbbd-3), golang-github-go-sql-driver-mysql (= 1.4.1-1), golang-github-googleapis-gax-go (= 2.0.5-1), golang-github-hashicorp-golang-lru (= 0.5.4-1), golang-github-lib-pq (= 1.3.0-1), golang-go.crypto (= 1:0.0~git20200429.4b2356b-1), golang-go.opencensus (= 0.22.0-1), golang-golang-x-net (= 1:0.0+git20200226.491c5fc+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sys (= 0.0~git20200219.cb0a6d8-1), golang-golang-x-text (= 0.3.2-4), golang-google-api (= 0.21.0-1), golang-google-cloud (= 0.56.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-1), golang-google-grpc (= 1.27.1-1), golang-goprotobuf (= 1.3.4-2)
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10508
Depends: libc6 (>= 2.4)
Recommends: fuse
Filename: pool/universe/c/cloudsql-proxy/cloudsql-proxy_1.17.0-3_amd64.deb
Size: 3138608
MD5sum: b25f657083742d127bd9b0d806a334fd
SHA1: ddbba42043be4ce784daba949cd708e8d7e92cc6
SHA256: cd28e57c7a6a0d16b7be18292957b5ee16defacc48584283fde243e63345d42a
SHA512: 35f7e7642920d65f548c1af282c6fbf349dc04abb268884f874a9e50a82b957f5905aba5dcc0c3fc613e25ceea95768ee506b47000ea5e4f03ecb565bd6c91d4
Homepage: https://github.com/GoogleCloudPlatform/cloudsql-proxy
Description-en: connect securely to a 2nd generation Cloud SQL DB
The Cloud SQL Proxy allows a user with the appropriate permissions to
connect to a Second Generation Google Cloud SQL database without having
to deal with IP whitelisting or SSL certificates manually. It works by
opening unix/tcp sockets on the local machine and proxying
connections to the associated Cloud SQL instances when the sockets
are used.
.
Optional functionality can be enabled (--fuse) with access to `/dev/fuse`
as well as the `fusermount` binary.
.
By default, the proxy will authenticate under the default service account
of the Compute Engine VM it is running on. Therefore, the VM must have at
least the sqlservice.admin API scope
("https://www.googleapis.com/auth/sqlservice.admin")
and the associated project must have the SQL Admin API enabled. The default
service account must also have at least WRITER/EDITOR privileges to any
projects of target SQL instances.
Description-md5: 8271a28fa8468eb1e7389adb7303d6d9