Open gusthavosouza opened 1 year ago
The code sample in question is explained in the following documentation:
You can also look how to set up connection to Postgre.
Can you please follow the instructions and validate that if you cannot connect with a DB user that has a custom ID not matching the database name? If you follow these instructions and is able to reproduce the behavior, please share the detailed step-by-step reproduction scenario so we can troubleshoot the problem.
Thank you
Hey, I am setting up an application on Google Cloud tech stack:
GCP SQL Postgress 15 Spring JPA 3.0.1 Google App Engine
followed the examples on: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/cloud-sql/postgres/servlet/src/main/java/com/example/cloudsql/ConnectorConnectionPoolFactory.java
My configs:
My app.yaml
Error:
I have solved the problem with creating the user as the name of the db, however, this seems like a bug to me.
Thank you!