How to connect MySql database in java using eclipse || MySql jdbc connection in eclipse

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 203

  • @upwale4796
    @upwale4796 4 месяца назад +7

    I am first time learner i stuck for 2 days after ur video i got resolve the problem❤

    • @RankoJunction
      @RankoJunction  4 месяца назад +1

      Thank you so much for your kind words! I’m glad you found this video helpful. Please subscribe to my RUclips channel for more valuable content😊😊

  • @vivekhalder2974
    @vivekhalder2974 9 месяцев назад +9

    Jai Shree Ram didi. I have been stuck because of this error for the last 5 hours. Finally your video helped me out. Thanks a lot.

    • @RankoJunction
      @RankoJunction  9 месяцев назад

      Jai shree shyam 😊 your most welcome 🤩 please subscribe and share my RUclips channel ☺️

  • @Md.ArifArshlan
    @Md.ArifArshlan Год назад +2

    To me this video was very helpful. Thank you 🌹🌹🌹

  • @vinaykumar-d6q1x
    @vinaykumar-d6q1x Год назад +2

    your presentation was simply superb and steps are easy to understand.

  • @enoughgame1006
    @enoughgame1006 Год назад +3

    Alhamdulillah Alhamdulillah
    ❤my sister

  • @srikanth.eee1034
    @srikanth.eee1034 Месяц назад

    Nice 👍 good explanation

  • @kisoresakthi9176
    @kisoresakthi9176 6 месяцев назад +2

    Thanks mam really helpful

  • @khushteradeeb
    @khushteradeeb 9 месяцев назад +1

    really helpful..👍👍👍

  • @shirishmistari9035
    @shirishmistari9035 11 месяцев назад

    Really Helpful thanks for helping

  • @_choudharishraddha
    @_choudharishraddha Год назад +2

    It was so helpful for me thanks a lot

  • @sonushaik-x6e
    @sonushaik-x6e Год назад +2

    It was so helpful for me thanks a lot...❤keep going

    • @RankoJunction
      @RankoJunction  Год назад

      Thank you so much, your words mean a lot to me🤩

  • @shubhamkenjale526
    @shubhamkenjale526 11 месяцев назад +1

    Really Helpful Video..!

  • @alaaneili8212
    @alaaneili8212 2 месяца назад

    thank you very much your video helped me a lot to run my project i am really grateful ❤❤❤

  • @dattatone3640
    @dattatone3640 8 месяцев назад +1

    Easily understanding and good teaching video....thank you😇💯👍

    • @RankoJunction
      @RankoJunction  8 месяцев назад

      Thank you so much for your kind words! I'm thrilled to hear that you found the video clear and educational. If you enjoyed the content, please consider subscribing to my RUclips channel and supporting me🙏😊. Your support helps me create more helpful videos. Happy coding! 🚀

  • @parvathisankariS
    @parvathisankariS Год назад +1

    Your video is simply super..and helpful really! Thanks

  • @vishwanath7094
    @vishwanath7094 11 месяцев назад +1

    It was helpful

  • @dipanshiverma
    @dipanshiverma 9 дней назад

    thank you it helped me a lot to solve my errors

  • @sn-develpoment
    @sn-develpoment Месяц назад

    Thanks yaar…the way resolve those issues in the code that helps my problem…

  • @RUHEESHAIKH-m4u
    @RUHEESHAIKH-m4u 11 месяцев назад

    ilove your videos its so esy

  • @sebastiancruz9252
    @sebastiancruz9252 4 месяца назад

    Great video bud, keep going on the Software Journery!

    • @RankoJunction
      @RankoJunction  4 месяца назад

      Thank you so much for your kind words! Please subscribe to my RUclips channel and stay tuned for more useful content🤩

  • @debasisbarik5444
    @debasisbarik5444 Год назад +1

    Thank you mam ❤

    • @RankoJunction
      @RankoJunction  Год назад +1

      you're welcome😊

    • @debasisbarik5444
      @debasisbarik5444 Год назад

      Mam there's is some problem showing that
      Establishing SSL connection without server's identity verification is not recommended. According to mysql Exception in thread "main" Java. Sql. SQLException:
      Mam please could u give me the solution plz 🙏

    • @RankoJunction
      @RankoJunction  Год назад +1

      your url should be like this jdbc:jdbc:mysql://localhost:3306/datbasename?autoReconnect=true&useSSL=false

    • @RankoJunction
      @RankoJunction  Год назад

      and please write your database name properly

    • @debasisbarik5444
      @debasisbarik5444 Год назад

      Mam after doing that now it's showing
      Exception in thread "main" Java. sql. SQLException no suit able driver found for jdbc :: mysql://localhost:3306/database name? AutoReconnect=true&use SSL= false

  • @dinakaranthiru5664
    @dinakaranthiru5664 3 месяца назад

    Thanks a lot!!

    • @RankoJunction
      @RankoJunction  3 месяца назад +1

      You're most welcome ☺️☺️

  • @HemanthKumarSomavarapati
    @HemanthKumarSomavarapati 9 месяцев назад

    Very useful for me , No one is saying about cj(connector jar) in class loading , I think u only said it. Thanks🤗🤗❤

    • @RankoJunction
      @RankoJunction  9 месяцев назад +1

      Thank you for your kind words💕 I am glad that you found the video helpful. please subscribe my RUclips channel for more valuable content.your support means a lot to us🤩 . stay tuned for upcoming videos

  • @dzenetamuminovic
    @dzenetamuminovic Месяц назад

    THANK YOU A 10000000000000000000000000000000000 TIMES YOU SAVED ME!!!!!!!!!!!!!!!!!!!!!!!!

  • @POTATOMAN-gi9ce
    @POTATOMAN-gi9ce Год назад

    You slay queen😎😎😎.... Thanks for the video

  • @bione525
    @bione525 3 месяца назад

    thanks a lot !❤

  • @rachamallidorasrivignesh4499
    @rachamallidorasrivignesh4499 Год назад

    Thank you madam this vedeo helps us to understand very well. I am requesting you to please appload some spring boot basic concepts .Please , Thank you have a great day bye madam.

    • @RankoJunction
      @RankoJunction  Год назад

      Your welcome and yes definitely we are going to upload the complete spring boot tutorial

  • @lipikalipi6089
    @lipikalipi6089 10 месяцев назад

    Tqsm🤗🤗

  • @hamedghafouri5451
    @hamedghafouri5451 Год назад +1

    perfect

  • @rohanhere12
    @rohanhere12 8 месяцев назад

    Thanks mam ❤

    • @RankoJunction
      @RankoJunction  8 месяцев назад +1

      Thank you for watching☺️☺️! If you found this content helpful, please consider subscribing to my channel for more tips and updates. Your support really motivates me to keep creating valuable content😊😊

    • @rohanhere12
      @rohanhere12 8 месяцев назад

      @@RankoJunction Sure 🙌💯

    • @RankoJunction
      @RankoJunction  8 месяцев назад +1

      Thank you so much🤩🤩

  • @VishalYadav-w3e
    @VishalYadav-w3e 3 месяца назад

    Arre Bap re Mai 3 ghante se paresan tha ye to kamal ho gaya Wah Madm Wah Kya bat Hai Isi Tarah Aage Badiye God Bless You

    • @RankoJunction
      @RankoJunction  3 месяца назад

      I'm so glad you found the video helpful! Thanks for watching and supporting the channel ☺️

  • @ShyamPrakash.Kuntla
    @ShyamPrakash.Kuntla 7 месяцев назад +1

    thanks

  • @Pavankalyan....
    @Pavankalyan.... 9 месяцев назад

    hii your making as well keep going on yaaar🥰

    • @RankoJunction
      @RankoJunction  9 месяцев назад

      Thanks for the encouragement! I'll keep pushing forward and doing my best. If you enjoy my content, please consider subscribing to my channel and supporting me. It means a lot!🤩

  • @adityarohit8280
    @adityarohit8280 4 месяца назад

    it would have been helpful if u put the code in description

  • @prabhakaraadhik7377
    @prabhakaraadhik7377 6 месяцев назад

    thank you

    • @RankoJunction
      @RankoJunction  6 месяцев назад

      You're most welcome 😊 please subscribe my RUclips channel and support me 🙏

  • @deepword30
    @deepword30 5 месяцев назад

    😊😊

  • @Excel-Fundamentals
    @Excel-Fundamentals 10 месяцев назад

    Explanation is Awesome Connection is created got the output in Eclipse but my Query How to retrieve database from mysql to eclipse???

    • @RankoJunction
      @RankoJunction  10 месяцев назад +1

      we don't retrieve the database we get the data stored in the table but we can get the database name using eclipse .

    • @Excel-Fundamentals
      @Excel-Fundamentals 10 месяцев назад

      @@RankoJunction Then how to get database name??

    • @RankoJunction
      @RankoJunction  10 месяцев назад +1

      DatabaseMetaData metaData = con.getMetaData();
      //retrieving the name of the database
      String name= metaData.getDatabaseProductName();
      System.out.println("Name of the underlying database: "+name);
      this is how we retrieve the database name

    • @Excel-Fundamentals
      @Excel-Fundamentals 10 месяцев назад

      @@RankoJunction Thanks for the reply Yesterday I practiced mysql Crud: create read update & delete operations Today I plan to practice Mysql Database Connectivity in Eclipse When I search in youtube Jdbc Mysql Connectivity to Eclipse I found your Video so helpful..

  • @onkargehalot8358
    @onkargehalot8358 4 месяца назад

    problem toh rehgaya side me i hv to search another video,sorry to say this , but, I AM IN LOVE WITH YOUR VOICE😍

  • @rahulranesh5561
    @rahulranesh5561 Год назад +2

    When I run ,it shows class not found exception
    Pls say what to do

    • @RankoJunction
      @RankoJunction  Год назад +2

      add the mysql driver as shown in the vdo and check for typos in your code .

  • @AppalarajuGunnabattula
    @AppalarajuGunnabattula 26 дней назад

    in java SE21 i add the my sql connector dont open the add the jarfile option how can i resolve the issue

    • @RankoJunction
      @RankoJunction  26 дней назад

      cn u check whether there is a module-info file in ur project which u r using

  • @nitheshmasam9859
    @nitheshmasam9859 2 месяца назад

    Mam for me it was showing access denied error even though the password is correct what to do?

  • @LIFEISEASYYY
    @LIFEISEASYYY Год назад +1

    the import option didnot come for me when i clicked connection

    • @RankoJunction
      @RankoJunction  Год назад

      Go to Preferences » Java » Editor » Content Assist » Advanced.
      Make sure Other Java Proposals is ticked/checked.
      If that does not work simply close the project and reopen it.

  • @LindaVinson-q4z
    @LindaVinson-q4z 4 месяца назад

    Devan Point

  • @neerajverma942
    @neerajverma942 2 месяца назад

    thanks you so much , i stucked on this error from last 3 days , i frustrated 😤😤, but suddently i found your videos 🥹thanks a lot

    • @RankoJunction
      @RankoJunction  2 месяца назад

      Thank you so much for your kind words! I'm glad you found this video helpful 😊😊

  • @LouiseCarter-k8l
    @LouiseCarter-k8l 4 месяца назад

    Corwin Lodge

  • @LoydStewart-e6z
    @LoydStewart-e6z 4 месяца назад

    Breitenberg Valley

  • @sakeenabanu7783
    @sakeenabanu7783 7 месяцев назад

    Mam in my system there is no modulepath wt should do mam 😢 plz reply mam

    • @RankoJunction
      @RankoJunction  7 месяцев назад

      np , use the classpath instead

    • @sakeenabanu7783
      @sakeenabanu7783 6 месяцев назад

      ​@@RankoJunction in that also it's not coming mam

    • @RankoJunction
      @RankoJunction  6 месяцев назад

      click on the project and go to the build path and libraries

    • @sakeenabanu7783
      @sakeenabanu7783 6 месяцев назад

      @@RankoJunction in library module is not there mam that's the problem 😞

  • @WhitneyBubash-h2q
    @WhitneyBubash-h2q 4 месяца назад

    Block Harbor

  • @小川大翔-o3o
    @小川大翔-o3o 3 месяца назад

    Gerry Throughway

  • @EloyHumphrey-m4z
    @EloyHumphrey-m4z 4 месяца назад

    Considine Stream

  • @SiddhaKu-rq7oy
    @SiddhaKu-rq7oy 6 месяцев назад +1

    Didu its shows No sutaible deriver found for jdbc:mysql//:localhost: 3306/ unisoft what i can should do for this plz help 😢 Didu.

    • @RankoJunction
      @RankoJunction  6 месяцев назад +1

      check ur spelling of com.mysql.cj.jdbc.Driver and add the driver as shown in the vdo

    • @SiddhaKu-rq7oy
      @SiddhaKu-rq7oy 6 месяцев назад +1

      @@RankoJunction ya di I have done some thing but it's con not working

    • @RankoJunction
      @RankoJunction  6 месяцев назад +1

      check whether ur schema is there in ur mysql workbench, user name and password

    • @SiddhaKu-rq7oy
      @SiddhaKu-rq7oy 6 месяцев назад +1

      @@RankoJunction I'm not getting what is u said plz explain

    • @RankoJunction
      @RankoJunction  6 месяцев назад +1

      You know na how to use mysql database

  • @EileenDyer-h5x
    @EileenDyer-h5x 4 месяца назад

    Hansen Lodge

  • @TamikaImhoff-b6d
    @TamikaImhoff-b6d 4 месяца назад

    Dessie Lodge

  • @allenwadhwa1657
    @allenwadhwa1657 6 месяцев назад

    Hello Mam,
    The jdbc connection is created but as soon as i run it, it displays the error named ie SQL Exception: unknown database (database_name)
    So can you please help me in solving this error? It will be a great help for me

    • @RankoJunction
      @RankoJunction  6 месяцев назад

      Do u know how to create a database in eclipse

    • @allenwadhwa1657
      @allenwadhwa1657 6 месяцев назад

      ​@@RankoJunctionno i am trying the jdbc for the first time so i know only little bit about it....but yes i have made my schema(database) in the sql workbench and also the same schema is stated it in the java connection statement but it is only showing error in console-unknown database

  • @CooperCandice-x7i
    @CooperCandice-x7i 4 месяца назад

    Ephraim River

  • @HaggaiSawyer-n1n
    @HaggaiSawyer-n1n 3 месяца назад

    Ulises Garden

  • @MorganMurray-c7m
    @MorganMurray-c7m 4 месяца назад

    Barney Cliff

  • @MyrleDeshong-r3w
    @MyrleDeshong-r3w 4 месяца назад

    Marcia Lights

  • @sanskarchhajed9397
    @sanskarchhajed9397 11 месяцев назад

    Connection establish hone ke bad database me data kese insert kre

    • @RankoJunction
      @RankoJunction  11 месяцев назад

      ruclips.net/video/iqFc5TyElM0/видео.htmlsi=aIfsPfwcDQkhZh1e
      Yeh video mein diya hai

  • @DonnaHowe-c3b
    @DonnaHowe-c3b 4 месяца назад

    Gladys Extensions

  • @MaryParkins-s6b
    @MaryParkins-s6b 4 месяца назад

    Tess Hill

  • @HuttJoanne-j6u
    @HuttJoanne-j6u 3 месяца назад

    Mikel Ferry

  • @CliffordBuske-u5v
    @CliffordBuske-u5v 4 месяца назад

    Hanna Trafficway

  • @theia1357
    @theia1357 5 месяцев назад

    Hey can you help me with something? Please

    • @RankoJunction
      @RankoJunction  5 месяцев назад

      sure i will help you 😊

    • @theia1357
      @theia1357 5 месяцев назад

      @@RankoJunction are you on discord? Is it possible to discuss on meet? Please, thank you for replying

  • @MackCervera-i3p
    @MackCervera-i3p 3 месяца назад

    Lesley Oval

  • @ZachariasSylvia-e2r
    @ZachariasSylvia-e2r 4 месяца назад

    Charley Glen

  • @GiselaSpeth-q3n
    @GiselaSpeth-q3n 4 месяца назад

    Aurelie Forks

  • @VivekKumar-el6hf
    @VivekKumar-el6hf 9 месяцев назад

    what is unisoft here..... when im providing my db name it is showing error

    • @RankoJunction
      @RankoJunction  9 месяцев назад

      its the schema name , which we create inside our mysql workbench

    • @RankoJunction
      @RankoJunction  9 месяцев назад

      you cn also use the world schema

  • @BurnsLindsay-m9h
    @BurnsLindsay-m9h 4 месяца назад

    Judge Burg

  • @MichaelRodgers-g6u
    @MichaelRodgers-g6u 4 месяца назад

    Ebert Mountains

  • @ManualRadle-f7g
    @ManualRadle-f7g 4 месяца назад

    Ambrose Place

  • @pothulapoojitha2788
    @pothulapoojitha2788 10 месяцев назад

    When i run it comes like selection does not contain a main type what to do

    • @RankoJunction
      @RankoJunction  10 месяцев назад

      cn you give me the code as the error may be on ur main method

    • @pothulapoojitha2788
      @pothulapoojitha2788 10 месяцев назад

      @@RankoJunction then what to do

    • @RankoJunction
      @RankoJunction  10 месяцев назад

      fix it by right click on the package -> properties -> Java Build Path -> Add folder (select the folder your code resides in). This is one of the solutions and the most come one is remove the main and write it again properly

    • @RankoJunction
      @RankoJunction  10 месяцев назад

      or else you have to mail me ur project

    • @pothulapoojitha2788
      @pothulapoojitha2788 10 месяцев назад

      @@RankoJunction ur mail id

  • @JamesVelazquez-r1t
    @JamesVelazquez-r1t 4 месяца назад

    Daniel Trace

  • @EvanCocker-i7n
    @EvanCocker-i7n 4 месяца назад

    Robel Shores

  • @cutino_16
    @cutino_16 9 месяцев назад

    I am getting communication failure what to do

    • @RankoJunction
      @RankoJunction  9 месяцев назад

      check your databases property like username , password, and specially the url

  • @JonasGavitt-w6n
    @JonasGavitt-w6n 4 месяца назад

    Kallie Heights

  • @TanaGattison-b5e
    @TanaGattison-b5e 4 месяца назад

    Pfeffer Curve

  • @MarnerRory-u7u
    @MarnerRory-u7u 4 месяца назад

    Abernathy Station

  • @AbigailCowan-l5r
    @AbigailCowan-l5r 4 месяца назад

    Hyatt Cape

  • @GrayShakespeare-l1d
    @GrayShakespeare-l1d 4 месяца назад

    Ernie Branch

  • @RyanJones-y3v
    @RyanJones-y3v 4 месяца назад

    Jonathon Street

  • @dheerajharale7955
    @dheerajharale7955 Год назад

    Error: Main method not found in class JdbcExample, please define the main method as:
    public static void main(String[] args)
    or a JavaFX application class must extend javafx.application.Application
    I getting these error after run it can you please help me out with these.

    • @RankoJunction
      @RankoJunction  Год назад

      This error comes due to many possibilities.
      1.chck your main method , is it written properly
      2. In eclipse file name and class name mst be same . or else
      it will be easier for me to chck if u gave me the complete code here.

  • @pratibhanevhare2757
    @pratibhanevhare2757 Год назад

    I face this issue while connectivity java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist please solve this problem

    • @RankoJunction
      @RankoJunction  Год назад +1

      First create the table using the statement interface and then try to insert the values

  • @undna
    @undna 9 месяцев назад +1

    my imports are underlined

    • @RankoJunction
      @RankoJunction  9 месяцев назад +1

      if its a yellow line then they are known as unused imports.

    • @undna
      @undna 9 месяцев назад

      @@RankoJunction no they were red. i found the fix. it was the module-info.java
      Had to delete it to recreate it

  • @Excel-Fundamentals
    @Excel-Fundamentals 10 месяцев назад

    Jdbc is connected But How to retrieve Database in Mysql to Eclipse? Can Any one reply please

  • @HertyGibson-k7t
    @HertyGibson-k7t 4 месяца назад

    Donnelly Junction

  • @hiramuskan577
    @hiramuskan577 27 дней назад

    Every thing is fine but there is no exception in output😢😢

    • @RankoJunction
      @RankoJunction  27 дней назад

      means , cn u explain ...class not found is not there in the output ?

    • @hiramuskan577
      @hiramuskan577 26 дней назад

      @RankoJunction noo... Driver's output is not showing.. But i copied u totally.. But i can't get connection well

  • @ZerdsuionRasze-s5k
    @ZerdsuionRasze-s5k 4 месяца назад

    Myrtle Ville

  • @marjoriecookfera642
    @marjoriecookfera642 4 месяца назад

    Collins Stream

  • @ElizabethLandin-h9w
    @ElizabethLandin-h9w 3 месяца назад

    Kassulke Squares

  • @BrigitteMalabey-i4c
    @BrigitteMalabey-i4c 4 месяца назад

    Baumbach Unions

  • @JerrellShikuma-r3q
    @JerrellShikuma-r3q 4 месяца назад

    Ahmed Loaf

  • @CromwellCamille-v2u
    @CromwellCamille-v2u 3 месяца назад

    Nienow Isle

  • @kollidharani
    @kollidharani 8 месяцев назад

    What is unisoft where can i get the schema name i am not that

    • @RankoJunction
      @RankoJunction  8 месяцев назад

      yes , i created my schema and u cn use the default schema provided by mysql tool such as world

    • @RankoJunction
      @RankoJunction  8 месяцев назад

      jst open ur mysqlwork bench its there in the schemas

  • @EvanMurphy-n6d
    @EvanMurphy-n6d 4 месяца назад

    Jovanny Turnpike

  • @BensonCamille-r9s
    @BensonCamille-r9s 3 месяца назад

    Aric Burgs

  • @McCarthyEvans-r5j
    @McCarthyEvans-r5j 4 месяца назад

    Rutherford Ports

  • @anuragkumawat4008
    @anuragkumawat4008 8 месяцев назад

    Still getting an error Access denied for user 'root'@'localhost'(using password: YES)

    • @RankoJunction
      @RankoJunction  8 месяцев назад

      Can u connect to your mysql workbench with the username and password which you are using for connection in java

  • @RonnaMeece-e8u
    @RonnaMeece-e8u 4 месяца назад

    Van Mews

  • @MaryThomas-d3p
    @MaryThomas-d3p 4 месяца назад

    Franecki Bypass