DEV Community

Nathan Hannon
Nathan Hannon Subscriber

Posted on

How do I connect Google App Engine to Cloud SQL?

Hello Dev community! I'm wondering how exactly I would go about connecting my Node.js project in Google app engine to a postgreSQL database in the Google Cloud SQL platform. I followed the provided tutorial. But I'm not exactly sure how Unix sockets work (that's the default way for public IPs) and I can't get everything to connect when I try using TCP with the Google VPC service. A plain English explanation or practical example would be immensely helpful. The project can be viewed on my GitHub (its the portfolio website). Any insight or tips on that would be very helpful as well. Thanks in advance!

Top comments (0)