#springboot

  Рет қаралды 123,113

SJ Programming Solutions

SJ Programming Solutions

Күн бұрын

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 S...
How to return java bean and list : • #springboot #restapi #...
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

Пікірлер: 71
@ravindupawan612
@ravindupawan612 10 ай бұрын
well explained
@SJProgrammingSolutions
@SJProgrammingSolutions 10 ай бұрын
Thank you !
@krunalkathikar2154
@krunalkathikar2154 2 жыл бұрын
Nice video
@shashankchouhan3593
@shashankchouhan3593 2 жыл бұрын
Good explaination
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Thank you !
@shashankchouhan3593
@shashankchouhan3593 2 жыл бұрын
@@SJProgrammingSolutions no problem
@viswareddy-x4n
@viswareddy-x4n Жыл бұрын
Good Content
@naufalazim1699
@naufalazim1699 2 жыл бұрын
Thank you! I can connect with my MYSQL database with Spring boot.
@Tharunibalu2023
@Tharunibalu2023 4 ай бұрын
Superb clear crystal explanation thanks ❤
@SJProgrammingSolutions
@SJProgrammingSolutions 4 ай бұрын
Thank you!
@cauadev6955
@cauadev6955 3 жыл бұрын
nice video bro!
@SJProgrammingSolutions
@SJProgrammingSolutions 3 жыл бұрын
Thank you !
@naveenreddy7320
@naveenreddy7320 2 жыл бұрын
thank you so much, it helps me to connect my database.
@chawkisallem7682
@chawkisallem7682 2 жыл бұрын
Thank You So Much, You Saved Me
@MdkhajaMoin-s9e
@MdkhajaMoin-s9e 11 ай бұрын
thank you
@reddyvlogs6674
@reddyvlogs6674 2 жыл бұрын
After mentioning empdb in applications property drive & after opening MySQL db i have nothing like this in your SQL db 🤦🏻 what to do ??????
@incredibles4226
@incredibles4226 10 ай бұрын
7:35 on line 4 "spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect" will help.
@guilhermesantos2897
@guilhermesantos2897 9 ай бұрын
YOU ARE THE MAN MY BOY 🔥🔥🔥🔥🔥
@SohamNiungare
@SohamNiungare 7 ай бұрын
ma'am i have this error Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)
@VISITLosAngeles
@VISITLosAngeles Жыл бұрын
Thank you so much
@aniruddharaje8
@aniruddharaje8 10 ай бұрын
Could you make the application using Quarkus framework?
@yuvan.s2264
@yuvan.s2264 5 ай бұрын
can u pls show me also both spring boot and mysql connect to postman
@yuvan.s2264
@yuvan.s2264 5 ай бұрын
bcz i am getting error like internal sever error
@happy_life742
@happy_life742 7 ай бұрын
Mam why am i not able to put spring.jpa.hibernate.ddl-auto=update.....if i use generate instead of hibernate it doesn't show error...
@SJProgrammingSolutions
@SJProgrammingSolutions 7 ай бұрын
What is the error ?
@sachin571989
@sachin571989 8 ай бұрын
Mam it shows an error "spelled wrong" While I write these in application. Property
@rkratz
@rkratz Жыл бұрын
save my life
@shaikamzadhussain917
@shaikamzadhussain917 Ай бұрын
Mam application is running successfully with no errors but table is not created in database
@SJProgrammingSolutions
@SJProgrammingSolutions Ай бұрын
Please check schema name is correct or not in your application.properties file
@shaikamzadhussain917
@shaikamzadhussain917 Ай бұрын
@SJProgrammingSolutions checked but not working mam I was thought of sending that file as a zip file to your mail address as I am unable to send that file
@vermadeen9181
@vermadeen9181 2 жыл бұрын
thank you .Helpful video
@yahia1355
@yahia1355 2 жыл бұрын
I have an error (its quite large)would you like to help me ?
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Yes, please share details with error on sjprogrammingsolutions@gmail.com
@teluguyoutubers5879
@teluguyoutubers5879 8 ай бұрын
Why i am getting error like occurred during initialisation of boot layer
@SJProgrammingSolutions
@SJProgrammingSolutions 8 ай бұрын
What is the error ?
@teluguyoutubers5879
@teluguyoutubers5879 8 ай бұрын
Exception in thread main java lang.Error : Unresolved compilation problem at @SpringbootMySqlExApplication
@Trupti06
@Trupti06 8 ай бұрын
Hi mam I'm getting error while connecting to database Failed to initialise jpa Entity manager factory
@SJProgrammingSolutions
@SJProgrammingSolutions 8 ай бұрын
Please check your mysql version in application.properties is matching with your workbench mysql or not , It should be same
@null8637
@null8637 Жыл бұрын
you missed dev tools its will comes in handy
@educare99
@educare99 2 жыл бұрын
Thanks
@qk884
@qk884 2 жыл бұрын
My console not showing a query like for you its showing hibernate :creatd table what to do?
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hi , did you added spring.jpa.show-sql=true in your properties file ? please add above in properties file and run the application you. will see the query in console. Thank you !
@vishnuvardhand7728
@vishnuvardhand7728 2 жыл бұрын
mam its showing tables in database mam
@ankurjaiswal8387
@ankurjaiswal8387 2 жыл бұрын
please help me out Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello Ankur , can you share error msg and screenshot of your application.properties file on sjprogrammingsolutions@gmail.com
@avirajechavarepatil8227
@avirajechavarepatil8227 Жыл бұрын
Bhai Tera hua Kya solution
@MyWisdomWave-ml8qp
@MyWisdomWave-ml8qp Жыл бұрын
Chat GPT told me to use "spring.datasource.database-platform= org.hibernate.dialect.MySQLDialect" instead of the line in the tutorial and it worked.
@anshumangogoi148
@anshumangogoi148 Жыл бұрын
When I create a table using @Table() no table is created in workbench . Can anyone help me with this
@SJProgrammingSolutions
@SJProgrammingSolutions Жыл бұрын
Please check your application.properties file , Did you provided correct DB details ?
@saipavirala7762
@saipavirala7762 Жыл бұрын
Hi mam I am unable to connect my database it showing client_plugin_auth is required as error what to do now please tell mam
@SJProgrammingSolutions
@SJProgrammingSolutions Жыл бұрын
Can you share error msg or project zip folder on sjprogrammingsolutions@gmail.com
@onurelhakan4004
@onurelhakan4004 2 жыл бұрын
👏
@gunjinaveen8964
@gunjinaveen8964 Жыл бұрын
how do we know platform-database
@hari7027
@hari7027 2 жыл бұрын
Unsatisfied exception unable to take bean name data source tried all things unable to solve this exception
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello Hari , Can you share exception screenshot or your project on sjprogrammingsolutions@gmail.com
@hari7027
@hari7027 2 жыл бұрын
@@SJProgrammingSolutions send...plz check
@preethimanoj5419
@preethimanoj5419 Жыл бұрын
I also got the same error... getting import Jakarta instead of javax
@aniruddharaje8
@aniruddharaje8 10 ай бұрын
Spring boot with JWT auth header security video please
@shubhamjha2031
@shubhamjha2031 2 жыл бұрын
Can you give training?
@shubhamjha2031
@shubhamjha2031 2 жыл бұрын
Please reply
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello Shubham , Please connect with me on sjprogrammingsolutions@gmail.com Thank you !
@Recordingization
@Recordingization 2 жыл бұрын
how do I configure which tables will be accessed in configuration?
@MJgamer4U
@MJgamer4U Жыл бұрын
In which software did u write this? Can u plzz tell!!
@SJProgrammingSolutions
@SJProgrammingSolutions Жыл бұрын
I have used STS IDE , Spring tool suite
@codewithrishi4066
@codewithrishi4066 Жыл бұрын
Thank you for saving my ass
@umasingh4369
@umasingh4369 2 жыл бұрын
Why we use SSL=false plz explain
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hi UMA, to disable the SSL we have added useSSL = false otherwise you will get warning
@umasingh4369
@umasingh4369 2 жыл бұрын
@@SJProgrammingSolutions sir could you plz explain any one project so that I can mention in my resume due to year gap I face so many difficulties in interview please help sir..
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
@@umasingh4369 hi first start creating small small projects with all crud operations and then enhance them. Will post some videos.
Spring Boot JDBC using JdbcTemplate
29:39
Telusko
Рет қаралды 94 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 390 М.
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 744 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН