The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

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 Champions.
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