Reputation: 37
In my project, we are planning to use google cloud SQL. But I do not have complete steps to proceed this. I have created a database and table in the cloud SQL shell. How do I need to connect that database from spring MVC project? Please give clear steps to proceed this.
Upvotes: 0
Views: 78
Reputation: 724
You can follow this official documentation by Spring Cloud for Google Cloud Platform which provides code samples and examples. What you want to do is described in this link for MySQL or in this link for PostgreSQL.
There is also this community's tutorial which can guide you through the creation of a Spring Boot application with Cloud SQL on App Engine Flexible environment.
I also found this article which is not official document but it can help you to understand better the way you can handle Cloud SQL in your project.
Upvotes: 1