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

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 164

  • @upwale4796
    @upwale4796 Місяць тому +4

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

    • @RankoJunction
      @RankoJunction  Місяць тому +1

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

  • @vivekhalder2974
    @vivekhalder2974 6 місяців тому +8

    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  6 місяців тому

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

  • @dattatone3640
    @dattatone3640 4 місяці тому +2

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

    • @RankoJunction
      @RankoJunction  4 місяці тому

      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 UA-cam channel and supporting me🙏😊. Your support helps me create more helpful videos. Happy coding! 🚀

  • @VishalYadav-w3e
    @VishalYadav-w3e 12 днів тому

    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  12 днів тому

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

  • @vinaykumar-d6q1x
    @vinaykumar-d6q1x 10 місяців тому +2

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

  • @Md.ArifArshlan
    @Md.ArifArshlan 11 місяців тому +2

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

  • @_choudharishraddha
    @_choudharishraddha 11 місяців тому +2

    It was so helpful for me thanks a lot

  • @onkargehalot8358
    @onkargehalot8358 Місяць тому

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

  • @sonushaik-x6e
    @sonushaik-x6e 10 місяців тому +2

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

    • @RankoJunction
      @RankoJunction  10 місяців тому

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

  • @adityarohit8280
    @adityarohit8280 25 днів тому

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

  • @shirishmistari9035
    @shirishmistari9035 7 місяців тому

    Really Helpful thanks for helping

  • @dinakaranthiru5664
    @dinakaranthiru5664 2 години тому

    Thanks a lot!!

    • @RankoJunction
      @RankoJunction  43 хвилини тому

      You're most welcome ☺️☺️

  • @HemanthKumarSomavarapati
    @HemanthKumarSomavarapati 5 місяців тому

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

    • @RankoJunction
      @RankoJunction  5 місяців тому +1

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

  • @omkarpanchal2775
    @omkarpanchal2775 6 днів тому

    Thank you

  • @rachamallidorasrivignesh4499
    @rachamallidorasrivignesh4499 8 місяців тому

    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  8 місяців тому

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

  • @sebastiancruz9252
    @sebastiancruz9252 Місяць тому

    Great video bud, keep going on the Software Journery!

    • @RankoJunction
      @RankoJunction  Місяць тому

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

  • @kisoresakthi9176
    @kisoresakthi9176 2 місяці тому +2

    Thanks mam really helpful

  • @parvathisankariS
    @parvathisankariS 10 місяців тому +1

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

  • @bione525
    @bione525 3 дні тому

    thanks a lot !❤

  • @shubhamkenjale526
    @shubhamkenjale526 8 місяців тому +1

    Really Helpful Video..!

  • @Excel-Fundamentals
    @Excel-Fundamentals 7 місяців тому

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

    • @RankoJunction
      @RankoJunction  7 місяців тому +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 7 місяців тому

      @@RankoJunction Then how to get database name??

    • @RankoJunction
      @RankoJunction  7 місяців тому +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 7 місяців тому

      @@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..

  • @RUHEESHAIKH-m4u
    @RUHEESHAIKH-m4u 8 місяців тому

    ilove your videos its so esy

  • @POTATOMAN-gi9ce
    @POTATOMAN-gi9ce 9 місяців тому

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

  • @Pavankalyan....
    @Pavankalyan.... 6 місяців тому

    hii your making as well keep going on yaaar🥰

    • @RankoJunction
      @RankoJunction  6 місяців тому

      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!🤩

  • @vishwanath7094
    @vishwanath7094 7 місяців тому +1

    It was helpful

  • @khushteradeeb
    @khushteradeeb 6 місяців тому +1

    really helpful..👍👍👍

  • @enoughgame1006
    @enoughgame1006 10 місяців тому +2

    Alhamdulillah Alhamdulillah
    ❤my sister

  • @debasisbarik5444
    @debasisbarik5444 8 місяців тому +1

    Thank you mam ❤

    • @RankoJunction
      @RankoJunction  8 місяців тому +1

      you're welcome😊

    • @debasisbarik5444
      @debasisbarik5444 8 місяців тому

      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  8 місяців тому +1

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

    • @RankoJunction
      @RankoJunction  8 місяців тому

      and please write your database name properly

    • @debasisbarik5444
      @debasisbarik5444 8 місяців тому

      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

  • @ShyamPrakash.Kuntla
    @ShyamPrakash.Kuntla 4 місяці тому +1

    thanks

  • @rahulranesh5561
    @rahulranesh5561 10 місяців тому +2

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

    • @RankoJunction
      @RankoJunction  10 місяців тому +2

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

  • @hamedghafouri5451
    @hamedghafouri5451 10 місяців тому +1

    perfect

  • @rohanhere12
    @rohanhere12 5 місяців тому

    Thanks mam ❤

    • @RankoJunction
      @RankoJunction  5 місяців тому +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 5 місяців тому

      @@RankoJunction Sure 🙌💯

    • @RankoJunction
      @RankoJunction  5 місяців тому +1

      Thank you so much🤩🤩

  • @allenwadhwa1657
    @allenwadhwa1657 3 місяці тому

    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  3 місяці тому

      Do u know how to create a database in eclipse

    • @allenwadhwa1657
      @allenwadhwa1657 3 місяці тому

      ​@@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

  • @LoydStewart-e6z
    @LoydStewart-e6z 29 днів тому

    Breitenberg Valley

  • @deepword30
    @deepword30 Місяць тому

    😊😊

  • @EloyHumphrey-m4z
    @EloyHumphrey-m4z 26 днів тому

    Considine Stream

  • @LIFEISEASYYY
    @LIFEISEASYYY 9 місяців тому +1

    the import option didnot come for me when i clicked connection

    • @RankoJunction
      @RankoJunction  9 місяців тому

      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.

  • @SiddhaKu-rq7oy
    @SiddhaKu-rq7oy 3 місяці тому +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  3 місяці тому +1

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

    • @SiddhaKu-rq7oy
      @SiddhaKu-rq7oy 3 місяці тому +1

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

    • @RankoJunction
      @RankoJunction  3 місяці тому +1

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

    • @SiddhaKu-rq7oy
      @SiddhaKu-rq7oy 3 місяці тому +1

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

    • @RankoJunction
      @RankoJunction  3 місяці тому +1

      You know na how to use mysql database

  • @lipikalipi6089
    @lipikalipi6089 7 місяців тому

    Tqsm🤗🤗

  • @WhitneyBubash-h2q
    @WhitneyBubash-h2q Місяць тому

    Block Harbor

  • @HumbertoSorce-m5q
    @HumbertoSorce-m5q Місяць тому

    Zetta Lake

  • @dheerajharale7955
    @dheerajharale7955 9 місяців тому

    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  9 місяців тому

      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.

  • @DonnaHowe-c3b
    @DonnaHowe-c3b Місяць тому

    Gladys Extensions

  • @TamikaImhoff-b6d
    @TamikaImhoff-b6d Місяць тому

    Dessie Lodge

  • @pratibhanevhare2757
    @pratibhanevhare2757 10 місяців тому

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

    • @RankoJunction
      @RankoJunction  10 місяців тому +1

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

  • @EileenDyer-h5x
    @EileenDyer-h5x Місяць тому

    Hansen Lodge

  • @sakeenabanu7783
    @sakeenabanu7783 3 місяці тому

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

    • @RankoJunction
      @RankoJunction  3 місяці тому

      np , use the classpath instead

    • @sakeenabanu7783
      @sakeenabanu7783 3 місяці тому

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

    • @RankoJunction
      @RankoJunction  3 місяці тому

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

    • @sakeenabanu7783
      @sakeenabanu7783 3 місяці тому

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

  • @ManualRadle-f7g
    @ManualRadle-f7g Місяць тому

    Ambrose Place

  • @krutikabarad4241
    @krutikabarad4241 2 місяці тому

    Hey can you help me with something? Please

    • @RankoJunction
      @RankoJunction  2 місяці тому

      sure i will help you 😊

    • @krutikabarad4241
      @krutikabarad4241 2 місяці тому

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

  • @MorganMurray-c7m
    @MorganMurray-c7m Місяць тому

    Barney Cliff

  • @TanaGattison-b5e
    @TanaGattison-b5e Місяць тому

    Pfeffer Curve

  • @GiselaSpeth-q3n
    @GiselaSpeth-q3n Місяць тому

    Aurelie Forks

  • @BensonCamille-r9s
    @BensonCamille-r9s 18 днів тому

    Aric Burgs

  • @Excel-Fundamentals
    @Excel-Fundamentals 7 місяців тому

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

  • @sanskarchhajed9397
    @sanskarchhajed9397 8 місяців тому

    Connection establish hone ke bad database me data kese insert kre

    • @RankoJunction
      @RankoJunction  8 місяців тому

      ua-cam.com/video/iqFc5TyElM0/v-deo.htmlsi=aIfsPfwcDQkhZh1e
      Yeh video mein diya hai

  • @ElizabethLandin-h9w
    @ElizabethLandin-h9w 23 дні тому

    Kassulke Squares

  • @marjoriecookfera642
    @marjoriecookfera642 Місяць тому

    Collins Stream

  • @HuttJoanne-j6u
    @HuttJoanne-j6u 23 дні тому

    Mikel Ferry

  • @JonasGavitt-w6n
    @JonasGavitt-w6n Місяць тому

    Kallie Heights

  • @JamesVelazquez-r1t
    @JamesVelazquez-r1t 29 днів тому

    Daniel Trace

  • @pothulapoojitha2788
    @pothulapoojitha2788 7 місяців тому

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

    • @RankoJunction
      @RankoJunction  7 місяців тому

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

    • @pothulapoojitha2788
      @pothulapoojitha2788 7 місяців тому

      @@RankoJunction then what to do

    • @RankoJunction
      @RankoJunction  7 місяців тому

      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  7 місяців тому

      or else you have to mail me ur project

    • @pothulapoojitha2788
      @pothulapoojitha2788 7 місяців тому

      @@RankoJunction ur mail id

  • @VivekKumar-el6hf
    @VivekKumar-el6hf 6 місяців тому

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

    • @RankoJunction
      @RankoJunction  6 місяців тому

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

    • @RankoJunction
      @RankoJunction  6 місяців тому

      you cn also use the world schema

  • @BrigitteMalabey-i4c
    @BrigitteMalabey-i4c Місяць тому

    Baumbach Unions

  • @ZerdsuionRasze-s5k
    @ZerdsuionRasze-s5k Місяць тому

    Myrtle Ville

  • @McCarthyEvans-r5j
    @McCarthyEvans-r5j 29 днів тому

    Rutherford Ports

  • @cutino_16
    @cutino_16 6 місяців тому

    I am getting communication failure what to do

    • @RankoJunction
      @RankoJunction  6 місяців тому

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

  • @anuragkumawat4008
    @anuragkumawat4008 5 місяців тому

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

    • @RankoJunction
      @RankoJunction  5 місяців тому

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

  • @undna
    @undna 6 місяців тому +1

    my imports are underlined

    • @RankoJunction
      @RankoJunction  6 місяців тому +1

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

    • @undna
      @undna 6 місяців тому

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

  • @MaryThomas-d3p
    @MaryThomas-d3p Місяць тому

    Franecki Bypass

  • @kollidharani
    @kollidharani 5 місяців тому

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

    • @RankoJunction
      @RankoJunction  5 місяців тому

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

    • @RankoJunction
      @RankoJunction  5 місяців тому

      jst open ur mysqlwork bench its there in the schemas

  • @RonnaMeece-e8u
    @RonnaMeece-e8u Місяць тому

    Van Mews

  • @Excel-Fundamentals
    @Excel-Fundamentals 7 місяців тому

    Connection created Done but How to retrieve Data from mysql Database..

    • @RankoJunction
      @RankoJunction  7 місяців тому

      using result set interface i have also create the video on tht as well

  • @Praveenragav
    @Praveenragav 6 місяців тому

    Pathi than iruku meethi enga😮

    • @RankoJunction
      @RankoJunction  6 місяців тому

      if you are saying tht its half only then we also have a full playlist on jdbc

    • @Praveenragav
      @Praveenragav 6 місяців тому

      @@RankoJunction can u please share the link then

    • @RankoJunction
      @RankoJunction  6 місяців тому

      ua-cam.com/play/PL6cRnBq_4WgAP2i5kls87PqbvwM4UC5cu.html&si=-gc2E9cV3b2FO4ax

    • @RankoJunction
      @RankoJunction  6 місяців тому

      hope this helps you

    • @Praveenragav
      @Praveenragav 6 місяців тому

      @@RankoJunction thank u so much

  • @Javacoder_07
    @Javacoder_07 Місяць тому

    thank you

  • @prabhakaraadhik7377
    @prabhakaraadhik7377 3 місяці тому

    thank you

    • @RankoJunction
      @RankoJunction  3 місяці тому

      You're most welcome 😊 please subscribe my UA-cam channel and support me 🙏