#springboot

Опубликовано: 22 Февраль 2025
на канале: SJ Programming Solutions
123,712
1k

Hi All,

In this video we are going to create springboot application and connect with mysql database so we will learn how to conncet springboot application to database.

Dependencies Used:

Spring Web
MySql Driver
Spring Data JPA

Application. propertiea file configuration as below:

spring.datasource.url=jdbc:mysql://localhost:3306/empdb?useSSL=false
spring.datasource.username=root
spring.datasource.password=root_pass_1234
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

In above configuration you have to update the values as per your username ,Password and database used.

How to crete springboot application and simple REST API :    • #springboot #restapi Spring Boot Rest...  

How to return java bean and list :    • #springboot #restapi #sprinbootrestap...  

If you find this content usefull please subcribe to channle !

Thank you for watching.

How to connect springboot application with mysql database
springboot mysql connection with example
springboot project with mysql

#springboot #mysql #springbootmysqlconnection #sjprogrammingsolutions