Reputation: 7354
I have tried the following address but I'm always getting "database not found": postgres://<db--user>:<db-password>@<db-ip-address>:5432/cloudsql/<connection-name>/<db-name>
Upvotes: 1
Views: 105
Reputation: 7354
After contacting the Hasura team we found the solution to the correct URL
The correct URL is: postgres://postgres:<db-password>@<db-id-address>:5432/postgres
Make sure you add the Hasura Cloud IP
to the allowed IP addresses on cloudSQL, otherwise the Hasua server get's blocked
Upvotes: 2