How to Install and Uninstall cloudsql-proxy Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 26,2024
1. Install "cloudsql-proxy" package
This guide let you learn how to install cloudsql-proxy on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
cloudsql-proxy
Copied
2. Uninstall "cloudsql-proxy" package
This tutorial shows how to uninstall cloudsql-proxy on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
cloudsql-proxy
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the cloudsql-proxy package on Ubuntu 21.04 (Hirsute Hippo)
Package: cloudsql-proxy
Architecture: amd64
Version: 1.17.0-5
Built-Using: golang-1.15 (= 1.15.4-1ubuntu1), golang-bazil-fuse (= 0.0~git20160811.0.371fbbd-3), golang-github-go-sql-driver-mysql (= 1.5.0-1), golang-github-golang-groupcache (= 0.0~git20200121.8c9f03a-1), golang-github-googleapis-gax-go (= 2.0.5-1), golang-github-lib-pq (= 1.3.0-1), golang-go.crypto (= 1:0.0~git20201016.9e8e0b3-1), golang-go.opencensus (= 0.22.4-1), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sys (= 0.0~git20201101.da20708-2), golang-golang-x-text (= 0.3.4-1), golang-google-api (= 0.28.0-2), golang-google-cloud (= 0.56.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-1), golang-google-grpc (= 1.29.1-0ubuntu1), 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: 9555
Depends: libc6 (>= 2.32)
Recommends: fuse
Filename: pool/universe/c/cloudsql-proxy/cloudsql-proxy_1.17.0-5_amd64.deb
Size: 2775552
MD5sum: caf036089c363f4f964f5bcaee4edb97
SHA1: 327c8adce7489fd14c2b26be25d8782e18e43afa
SHA256: 48927ca717ff084e6a9e4cb16a1bfff6954848f745fb38e796752fd3cd11f3e0
SHA512: dbe8b839881ceae0d7e72ed6ba8c0aed56c915f9dbbd8b4dc32e15bc3a28f143b0e9460dee7f53c26257c1fc5e1f47a1112b5ad8e732d3b7b5ffb1da9fa8ee17
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
Architecture: amd64
Version: 1.17.0-5
Built-Using: golang-1.15 (= 1.15.4-1ubuntu1), golang-bazil-fuse (= 0.0~git20160811.0.371fbbd-3), golang-github-go-sql-driver-mysql (= 1.5.0-1), golang-github-golang-groupcache (= 0.0~git20200121.8c9f03a-1), golang-github-googleapis-gax-go (= 2.0.5-1), golang-github-lib-pq (= 1.3.0-1), golang-go.crypto (= 1:0.0~git20201016.9e8e0b3-1), golang-go.opencensus (= 0.22.4-1), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sys (= 0.0~git20201101.da20708-2), golang-golang-x-text (= 0.3.4-1), golang-google-api (= 0.28.0-2), golang-google-cloud (= 0.56.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-1), golang-google-grpc (= 1.29.1-0ubuntu1), 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: 9555
Depends: libc6 (>= 2.32)
Recommends: fuse
Filename: pool/universe/c/cloudsql-proxy/cloudsql-proxy_1.17.0-5_amd64.deb
Size: 2775552
MD5sum: caf036089c363f4f964f5bcaee4edb97
SHA1: 327c8adce7489fd14c2b26be25d8782e18e43afa
SHA256: 48927ca717ff084e6a9e4cb16a1bfff6954848f745fb38e796752fd3cd11f3e0
SHA512: dbe8b839881ceae0d7e72ed6ba8c0aed56c915f9dbbd8b4dc32e15bc3a28f143b0e9460dee7f53c26257c1fc5e1f47a1112b5ad8e732d3b7b5ffb1da9fa8ee17
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