KBS_1

by mukilan

database=mysql

spring.cloud.gcp.sql.database-name=petclinic
spring.cloud.gcp.sql.instance-connection-name=YOUR_CLOUD_SQL_INSTANCE_CONNECTION_NAME

Initialize the database since the newly created Cloud SQL database has no tables. The following flag is for Spring Boot 2.5+.

spring.sql.init.mode=always

Finally, enable a Cloud SQL for MySQL profile in the Spring Boot app by adding mysql to application.properties’ spring.profiles.active property:

apt-get install git -y
apt-get install maven -y
apt-get install openjdk
apt-get install openjdk-11-jdk -y
apt-get install docker.io -y

 

 

 

 

 

 

You may also like

Contact US

Phone Number

+91 XXXXX XXXXX

Location

2nd floor, # 85, SGR Dental College Rd, Marathahalli, Bengaluru, Karnataka 560037

Email Address

contact@dbacentre.com

    dbacentre.com is a website that publishes practical and helpful out-of-the-box articles for aspirants like you and me. In addition, we seek to present exceptional, remarkable tutorials and tips that modern cloud professionals will appreciate.

     

    Subscribe now

    Edtior's Picks

    by mukilan
    Sql
    by mukilan

    ©2023 Mr DBA CENTRE. All Right Reserved. Designed and Developed by Begintech.in