hi i am not sure how to connect via same mechanism deploying application to Cloud run and connect vo mySql cloud from that using HikariCP Plz can you help if you have created any video for that
Hi sir , am getting some Connection Time out issue now like Caused by: java.net.ConnectException: Connection timed out: connect One thing i have a doubt when we are running our spring boot application locally first it will search all DB details like , drvierclassname,url,username and password URL should be our local like : jdbc:mysql://localhost:3306/Database name But am wondering here how can we give URL like jdbc:mysql://instance ip/Database name while running in local environment , after local run success then only we can run appengine:deploy then our application will be deploy in cloud , please help me out
+Basanta Hota This video is only access the cloud sql from your local machine not from app engine. You no need to deploy your application in app engine. If you create a MySQL instance in GCP it will provide the IPV4 address. This IPV4 address you should provide into the application. Yml file. Then your local machine is not connected into internet. So you have to add your public IP address into MySQL instance authorize network. So that MySQL instance allow to access the database from your public IP.
Great. good to hear. Finally, it's working now. Also, tonight I will upload the video about GCP App Engine deployment with Google Cloud SQL Spring boot Application. In this video, You will get to know about the complete set of GCP deployment with Cloud SQL.
I am trying the same with Postgres in Cloud SQL. However U am getting an error Caused by: org.postgresql.util.PSQLException: Connection to google:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.