Como proteger uma instância do Cloud SQL para PostgreSQL avaliações

12016 avaliações

Alok Kumar N. · Revisado há over 1 year

Eduardo G. · Revisado há over 1 year

Sagar M. · Revisado há over 1 year

Eduardo G. · Revisado há over 1 year

aarav m. · Revisado há over 1 year

Aarav M. · Revisado há over 1 year

Dipal R. · Revisado há over 1 year

재민 고. · Revisado há over 1 year

D J. · Revisado há over 1 year

Lab unable to complete on 4th TRY also check below logs student_00_86488d85a6bf@cloudshell:~ (qwiklabs-gcp-04-86a5e84bd191)$ export USERNAME=$(gcloud config list --format="value(core.account)") export CLOUDSQL_INSTANCE=postgres-orders export POSTGRESQL_IP=$(gcloud sql instances describe $CLOUDSQL_INSTANCE --format="value(ipAddresses[0].ipAddress)") export PGPASSWORD=$(gcloud auth print-access-token) psql --host=$POSTGRESQL_IP $USERNAME --dbname=orders psql: error: connection to server at "34.83.161.241", port 5432 failed: FATAL: password authentication failed for user student-00-86488d85a6bf@qwiklabs.net connection to server at "34.83.161.241", port 5432 failed: FATAL: password authentication failed for user student-00-86488d85a6bf@qwiklabs.net student_00_86488d85a6bf@cloudshell:~ (qwiklabs-gcp-04-86a5e84bd191)$ gcloud sql connect postgres-orders --user=postgres --quiet Allowlisting your IP for incoming connection for 5 minutes...done. Connecting to database with SQL user [postgres].Password: psql (16.4 (Ubuntu 16.4-1.pgdg22.04+1), server 13.15) SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off) Type "help" for help. postgres=> \c orders Password: psql (16.4 (Ubuntu 16.4-1.pgdg22.04+1), server 13.15) SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off) You are now connected to database "orders" as user "postgres". orders=> You are now connected to database "orders" as user "postgres". orders-> orders-> GRANT ALL PRIVILEGES ON TABLE order_items TO student-00-86488d85a6bf@qwiklabs.net ERROR: syntax error at or near "export" LINE 1: export PGPASSWORD=$(gcloud auth print-access-token) ^ orders=> \c orders Password: psql (16.4 (Ubuntu 16.4-1.pgdg22.04+1), server 13.15) SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off) You are now connected to database "orders" as user "postgres". orders=> GRANT ALL PRIVILEGES ON TABLE order_items TO student-00-86488d85a6bf@qwiklabs.net \q ERROR: role student-00-86488d85a6bf@qwiklabs.net does not exist ----- student_00_86488d85a6bf@cloudshell:~ (qwiklabs-gcp-04-86a5e84bd191)$ export PGPASSWORD=$(gcloud auth print-access-token) psql --host=$POSTGRESQL_IP $USERNAME --dbname=orders psql: error: connection to server at "34.83.161.241", port 5432 failed: FATAL: password authentication failed for user student-00-86488d85a6bf@qwiklabs.net connection to server at "34.83.161.241", port 5432 failed: FATAL: password authentication failed for user student-00-86488d85a6bf@qwiklabs.net student_00_86488d85a6bf@cloudshell:~ (qwiklabs-gcp-04-86a5e84bd191)$

Rajkumar R. · Revisado há over 1 year

great

Praveen K. · Revisado há over 1 year

Madhav K. · Revisado há over 1 year

Malik A. · Revisado há over 1 year

Ripan G. · Revisado há over 1 year

Rodrigo S. · Revisado há over 1 year

Yogiraj D. · Revisado há over 1 year

hoy si pude completarlo

Norma Estela L. · Revisado há over 1 year

민성 김. · Revisado há over 1 year

Aparecido S. · Revisado há over 1 year

Great!!

Ratnesh S. · Revisado há over 1 year

Completed.

Ashish S. · Revisado há over 1 year

Taras D. · Revisado há over 1 year

Prabhat K. · Revisado há over 1 year

password authentication fails for students even after following the steps in guide the second time it fails

Rajkumar R. · Revisado há over 1 year

Shanawaz A. · Revisado há over 1 year

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.