Unable to connect postgresql database linked to google cloud platform in react

Ramesh Monika
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 6, 2022

hi, i am trying to connect postgress to google coud platform and faced an issue 

 

I first followed the documentation on Cloud SQL(gcp library) and created the instance then in my pgAdmin4 i changed the host from localhost to the given host by the library.

this is the error message:

errorpg_hba.conf rejects connection for host "xxx.xxx.xx.xxx", user "cloudsqlsuperuser", database "perntodo", no encryption when connecting the postgress database to my react application.

 

the answer given by google is to change pg_hba.conf I do not know where this file is or if I am supposed to create it on my own on the server folder. I hope someone can help

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2022

Could you explain what this has to do with an Atlassian system?

Postgres is the favoured database for Atlassian stuff, but your question does not seem to be about that?

TAGS
AUG Leaders

Atlassian Community Events