How to connect Mysql using Spring boot Java and also create table in database tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 148

  • @tankhaichin4266
    @tankhaichin4266 ปีที่แล้ว +9

    THANK YOU SO MUCH, SIR! I have looked through quite a lot of videos, and yours is the one that worked!

  • @meme12389
    @meme12389 8 วันที่ผ่านมา +1

    Thank you very much sir !!! Very helpful

  • @ThaoPham-pe5vj
    @ThaoPham-pe5vj 9 หลายเดือนก่อน +2

    i'm so depressed of finding way to connect to the database until i see this video, thank you so much

  • @adammuyobo6562
    @adammuyobo6562 7 หลายเดือนก่อน +1

    I love you man this was so concise and straight to the point good video

  • @ranjitbobade6717
    @ranjitbobade6717 ปีที่แล้ว +2

    THANK YOU SIR! I HAVE TRYING TO CONNECT MYSQL TO SPRING BOOT FULL DAY . BUT WHEN I SEE YOUR VIDEO THE PROBLE SOLVE WITHIN MINUTES

  • @MohammadTaha89
    @MohammadTaha89 ปีที่แล้ว +2

    Thanks, works perfectly fine and i'm able to connect my SQL db with java spring boot.

  • @alfredabate3176
    @alfredabate3176 ปีที่แล้ว +2

    You helped me tremendously. Thank you so much. Keep creating content and change the world.

  • @vetri3932
    @vetri3932 ปีที่แล้ว +2

    thank you so much bro i had stuck two days for this problem

  • @tesouro9550
    @tesouro9550 9 หลายเดือนก่อน +2

    You've saved me, brother! Thank you so much!

  • @sobikathangaraj7694
    @sobikathangaraj7694 12 วันที่ผ่านมา

    Thank you sir!its Really useful 🤝

  • @RanjitMohite59_RANJIT_MOHITE
    @RanjitMohite59_RANJIT_MOHITE 11 หลายเดือนก่อน

    thank you sir, i try from two days finally it is solved.

  • @sahilsaksena3199
    @sahilsaksena3199 9 หลายเดือนก่อน +1

    GOD BLESS YOU SIR THIS FIXED MY ISSUES ❤

  • @josephrexa5444
    @josephrexa5444 11 หลายเดือนก่อน

    Simply,It Worked Wow

  • @qwertykeybord8536
    @qwertykeybord8536 ปีที่แล้ว

    Smooth sir smooth ❤

  • @Anime_Addict11
    @Anime_Addict11 หลายเดือนก่อน

    sir thank you very much

  • @akhilpichukala
    @akhilpichukala หลายเดือนก่อน

    Thank u very much]

  • @vivekshelke9788
    @vivekshelke9788 8 หลายเดือนก่อน

    you created database from mysql workbench 4:12
    is there a way that creates database by springboot only ?

  • @TamilDhevadhaiTharunya
    @TamilDhevadhaiTharunya หลายเดือนก่อน

    thank you Sir

  • @Vishal_Mahajan
    @Vishal_Mahajan หลายเดือนก่อน

    I am facing issue with jpa dependency.
    after adding dependency it is showing errors in pom.xml after removing it works fine.
    what to do

    • @unitedtoptech6288
      @unitedtoptech6288  หลายเดือนก่อน

      can you paste the whole error?

    • @Vishal_Mahajan
      @Vishal_Mahajan หลายเดือนก่อน

      @unitedtoptech6288 Thanks for your response.
      Actually error got resolved automatically. I dont know what happened.
      While I was facing that issue I tried creating multiple projects, updated maven project but it wasn't resolved.

    • @unitedtoptech6288
      @unitedtoptech6288  หลายเดือนก่อน

      Amazing

  • @ShadrachGideon-z5q
    @ShadrachGideon-z5q 23 วันที่ผ่านมา

    Sir, why did you leave it in Gradle- Groovy option

    • @unitedtoptech6288
      @unitedtoptech6288  23 วันที่ผ่านมา

      At what time stamp sir?

    • @ShadrachGideon-z5q
      @ShadrachGideon-z5q 12 วันที่ผ่านมา

      @@unitedtoptech6288 0:34 while setting user name and adding dependencies.

    • @unitedtoptech6288
      @unitedtoptech6288  11 วันที่ผ่านมา

      you can choose anything you want, I am familiar with that, that is why

  • @nazmularman2001
    @nazmularman2001 26 วันที่ผ่านมา

    which part in the code is responsible to create the query?

  • @saraswathym3424
    @saraswathym3424 ปีที่แล้ว +1

    hi sir, i've created everything as per your video, but the table is not created in mysql. can you help me out?

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Can u check your application properties code? are you getting any error in console when running?

    • @saraswathym3424
      @saraswathym3424 ปีที่แล้ว

      @@unitedtoptech6288, now it's working fine sir. I've used javax.persistence API annotations, instead of Jakarta API.

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Welcome !! glad to know it works

    • @saraswathym3424
      @saraswathym3424 ปีที่แล้ว

      @@unitedtoptech6288 sir, I've 3 years of career gap and also I've 3 years of experience as a Java developer. In this recession period, whether companies will accept me with this much of gap. Did we've any openings for career gap persons.

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      I think experience matters the most even tho if you have gap maybe just revise all java concepts again, cracking the interview will be hard because they will test you more because of the gap. May I know what specifically did you work in Java?

  • @165_shivambilaiya6
    @165_shivambilaiya6 2 ปีที่แล้ว +1

    Thank you soo much 👍

  • @JustAus3r-k3z
    @JustAus3r-k3z หลายเดือนก่อน

    I have followed, however, when I send data through postman, null values gets send to database, how only the id increments

    • @unitedtoptech6288
      @unitedtoptech6288  หลายเดือนก่อน +1

      do you get any errors in console?

    • @JustAus3r-k3z
      @JustAus3r-k3z หลายเดือนก่อน

      @@unitedtoptech6288 Hi, no actually nothing. Turns out it was the lombok dependency, I installed the extension as well it didn't work. I had to create both constructors, then the setters and getters by myself then pass the values to the interface etc then it worked,
      thank you.

    • @unitedtoptech6288
      @unitedtoptech6288  หลายเดือนก่อน

      Glad it worked!

  • @Florida-xd6zo
    @Florida-xd6zo 7 หลายเดือนก่อน

    Thank you soo much sir.

  • @teluguyoutubers5879
    @teluguyoutubers5879 7 หลายเดือนก่อน

    If I don't have inteligent idea app will it work in eclipse

  • @imkawtarr
    @imkawtarr 10 หลายเดือนก่อน

    it's working thaaanks

  • @aminullahyousufi8142
    @aminullahyousufi8142 ปีที่แล้ว

    Thanks man!!

  • @gecho5427
    @gecho5427 4 หลายเดือนก่อน

    THE GOAT

  • @tinhxpear03
    @tinhxpear03 10 หลายเดือนก่อน

    Thank you show much

  • @demianaayman3802
    @demianaayman3802 4 หลายเดือนก่อน

    Thanks alot

  • @PavithranG-dj8tc
    @PavithranG-dj8tc ปีที่แล้ว

    I seen lot of videos this is the one makes me connect...

  • @sumitraina24
    @sumitraina24 7 หลายเดือนก่อน

    Dinesh Kartik , is it u ?

  • @HoudaGhauth-x5e
    @HoudaGhauth-x5e 6 หลายเดือนก่อน

    thank you so much

  • @saaddhillon4817
    @saaddhillon4817 ปีที่แล้ว

    thank alot sir 👍

  • @dushyant.june6
    @dushyant.june6 ปีที่แล้ว

    Can I get these configurations from any repo?

  • @BhosleVedant
    @BhosleVedant 11 หลายเดือนก่อน

    Thank you

  • @prathameshmali2139
    @prathameshmali2139 ปีที่แล้ว

    thanks it worked

  • @rivines
    @rivines 5 หลายเดือนก่อน

    Thanks

  • @dheerajs347
    @dheerajs347 ปีที่แล้ว

    thank u sir

  • @codecamp2343
    @codecamp2343 ปีที่แล้ว

    Thank you bro😍

  • @sharifali4534
    @sharifali4534 ปีที่แล้ว

    what extension would I need to import @table into visual studio

  • @RashwathJ-oi7zn
    @RashwathJ-oi7zn ปีที่แล้ว

    Thank you bro

  • @bharathdynamo9351
    @bharathdynamo9351 10 หลายเดือนก่อน

    Sir why groovy and why not Maven???

    • @unitedtoptech6288
      @unitedtoptech6288  10 หลายเดือนก่อน

      Its our preference, you can choose any

  • @ZoyaKhan-cm4lv
    @ZoyaKhan-cm4lv ปีที่แล้ว

    Bro I have done all things but getting error failed to configure a data source url attribute is not specified

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Check if you have entered the right values in application properties and also if you have added all the necessary dependencies at first

  • @Sherbinsr
    @Sherbinsr ปีที่แล้ว +2

    Tables not showing in MySQL workbench

    • @dhruvbhavsar3841
      @dhruvbhavsar3841 ปีที่แล้ว

      Same with me. Can someone please reply?

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Can you verify the code? I literally did the same thing

    • @thivananhduong990
      @thivananhduong990 ปีที่แล้ว

      @@dhruvbhavsar3841 change it to "MySQL8Dialect" bro. It works for me

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      At what timestamp did you make that change?

  • @sthanadabouth
    @sthanadabouth ปีที่แล้ว

    i’m not getting error messages, however my tables arent being created. please help sir

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Did you create the database correctly?

    • @bibhasmondal7414
      @bibhasmondal7414 ปีที่แล้ว

      ​@@unitedtoptech6288same for me .the program is running successfully but mysql properties are not running

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      you need to have the database already created. do you have that ?

    • @sthanadabouth
      @sthanadabouth ปีที่แล้ว

      @@unitedtoptech6288someone answered my post. it was because i didn’t package my files under the application file, but under the .src file. thank you though

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Glad it was resolved

  • @bhargavinetha7353
    @bhargavinetha7353 7 หลายเดือนก่อน

    How to do it in eclipse

    • @unitedtoptech6288
      @unitedtoptech6288  7 หลายเดือนก่อน

      The same code will work I guess

    • @bhargavinetha7353
      @bhargavinetha7353 7 หลายเดือนก่อน

      Not it's showing some problem

    • @unitedtoptech6288
      @unitedtoptech6288  7 หลายเดือนก่อน

      @@bhargavinetha7353 what error do you get ? paste it fully

  • @keerthikeerthi1597
    @keerthikeerthi1597 2 ปีที่แล้ว

    Bro I was unable to do that bro. Plz help me if you can. Getting error

  • @vilgax1404
    @vilgax1404 ปีที่แล้ว

    It is not working on intellij community edition

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      what error are you getting?

    • @vilgax1404
      @vilgax1404 ปีที่แล้ว

      It says that you cant configure application properties in intellij community edition . Buy premium for that

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      try reinstalling intellij

    • @syedanooh4552
      @syedanooh4552 ปีที่แล้ว

      ​​@@vilgax1404 is it working now, in community edition?

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      it will

  • @shervinzion8823
    @shervinzion8823 ปีที่แล้ว

    thankyou

  • @48_subhambanerjee22
    @48_subhambanerjee22 ปีที่แล้ว +1

    Obviously.. it's going to work only... Whats new...

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      What is going to work?

    • @48_subhambanerjee22
      @48_subhambanerjee22 ปีที่แล้ว +1

      @@unitedtoptech6288 i mean, the connection to MySQL...

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว +2

      yep but some may face issues so its worth it

    • @navvi5108
      @navvi5108 11 หลายเดือนก่อน

      It's not working bro help me

    • @48_subhambanerjee22
      @48_subhambanerjee22 11 หลายเดือนก่อน

      @@navvi5108 just write the code carefully in pom.xml file... It's very important .. and it's the main source of error

  • @phongtranquoc7557
    @phongtranquoc7557 ปีที่แล้ว

    so the password is the password of my database in mysql workbench?

    • @unitedtoptech6288
      @unitedtoptech6288  ปีที่แล้ว

      Yeah , the password of your connection in case u r using workbench

  • @yungfilip4143
    @yungfilip4143 ปีที่แล้ว +1

    spring.jpa.show-sql=true
    spring.jpa.hibernate.ddl-auto=update
    spring.jpa.generate-ddl=true
    spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect

  • @PrabhaS-f5v
    @PrabhaS-f5v 8 หลายเดือนก่อน

    Facing an issue like cannot invoke org.hibernate.engine.jdbc.spi.sqlExceptionHelper

    • @unitedtoptech6288
      @unitedtoptech6288  7 หลายเดือนก่อน

      Seems there could be some issue with the connection code, can you check it?