I need help how to connect to google cloud postgresql database from vercel
Hey @meki2468! You can find connection instructions here: cloud.google.com/sql/docs/postgres/connect-overview
Hi amyegan,
These instructions are for connection of an instance to the postgresql instance database, which on my caseis working. I am having trouble with the connection between vercel and the cloud postgresql instance database. Because when I deploy the website and trying to signup the error comes up is “something wrong”, this means there is no connection between the postgresql and the vercel. But when I deployusing npm everything works, so the issue is on vercel and the connection of that database. I did put all the environmental variable in vercel and still can not find login data in the database
You may need use Cloud SQL Auth Proxy as Vercel’s infrastructure uses dynamic IP addresses. Otherwise, connections are only allowed from IP addresses or ranges that you have given permission.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.