المدة الزمنية 13:33

Springboot mysql How to connect spring boot with mysql | spring boot database connection example

101 211 مشاهدة
0
918
تم نشره في 2022/01/29

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 : /watch/s31=t&MwNqKnUSzZ8S= How to return java bean and list : /watch/s483=t&wgaJq43AugfA3 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

الفئة

عرض المزيد

تعليقات - 54