How to Connect MySQL Database in Spring Boot Project

preview_player
Показать описание
How to Connect MySQL Database in Spring Boot Project:
- I need 3 dependencies (Spring Web, MySQL Driver, Spring Data JPA)
Step 2: - Create new database in MySQL (name: userdb)
Step 3: - Configure data source properties for connect to MySQL database
- run project for make sure project can connect to database without error
Step 4: - Configure JPA properties
- Create new Entity(UserEntity) in project
- run project
I hope this video can help you to resolve your problem.

Thanks for watching and supporting me, guys. Feel free to comment on the video. Be respectful. Subscribe to me for more videos, information, surveys, and exclusive content! If you like, please share and add this video to a playlist and ring the Bell to join the Notification Squad.
Have a nice day!
Рекомендации по теме
Комментарии
Автор

i was stuck for more than 2 days thanks for this video bro

Haris_LV
Автор

Hello, I've a question. Can you help me!

I'm Using MySQL Workbench 8.0CE

After using your process no tables are created in the database. so I think that I found where is the problem is.

I think this is the problem ->


There is written MySQL5 what will be the word for Workbench 8.0CE

If I'm wrong please tell me what to do!

souvikdas
Автор

My project doesn't have a pom.xml
Can you please help me with what should I do

adityasonavane
Автор

After using your process table is not showing in the database.

Suggest me what to do

souvikdas