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

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

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

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

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

    • @RankoJunction
      @RankoJunction  2 месяца назад +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 7 месяцев назад +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  7 месяцев назад

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

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

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

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

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

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

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

  • @vinaykumar-d6q1x
    @vinaykumar-d6q1x 11 месяцев назад +2

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

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

    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  Месяц назад

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

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

    It was so helpful for me thanks a lot

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

    Really Helpful thanks for helping

  • @enoughgame1006
    @enoughgame1006 11 месяцев назад +3

    Alhamdulillah Alhamdulillah
    ❤my sister

  • @alaaneili8212
    @alaaneili8212 13 дней назад

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

  • @sonushaik-x6e
    @sonushaik-x6e 11 месяцев назад +2

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

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

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

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

    Thanks mam really helpful

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

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

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

      It's my pleasure ☺️😊

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

    Great video bud, keep going on the Software Journery!

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

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

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

    Really Helpful Video..!

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

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

    • @RankoJunction
      @RankoJunction  6 месяцев назад +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

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

    ilove your videos its so esy

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

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

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

    really helpful..👍👍👍

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

    It was helpful

  • @POTATOMAN-gi9ce
    @POTATOMAN-gi9ce 10 месяцев назад

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

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

    Thanks a lot!!

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

    hii your making as well keep going on yaaar🥰

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

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

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

    thanks a lot !❤

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

    Thank you mam ❤

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

      you're welcome😊

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

      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  9 месяцев назад +1

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

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

      and please write your database name properly

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

      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

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

    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  9 месяцев назад

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

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

    Devan Point

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

    Tqsm🤗🤗

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

    thanks

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

    thank you

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

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

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

    perfect

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

    Thanks mam ❤

    • @RankoJunction
      @RankoJunction  6 месяцев назад +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 6 месяцев назад

      @@RankoJunction Sure 🙌💯

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

      Thank you so much🤩🤩

  • @neerajverma942
    @neerajverma942 24 дня назад

    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  24 дня назад

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

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

    Corwin Lodge

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

    Breitenberg Valley

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

    Ulises Garden

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

    Block Harbor

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

    Hansen Lodge

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

    Considine Stream

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

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

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

    Dessie Lodge

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

    Gerry Throughway

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

    Ambrose Place

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

    Robel Shores

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

    Ephraim River

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

    Hanna Trafficway

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

    😊😊

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

    Gladys Extensions

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

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

    • @RankoJunction
      @RankoJunction  8 месяцев назад +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 8 месяцев назад

      @@RankoJunction Then how to get database name??

    • @RankoJunction
      @RankoJunction  8 месяцев назад +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 8 месяцев назад

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

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

    Barney Cliff

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

    Marcia Lights

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

    Ebert Mountains

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

    Pfeffer Curve

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

    Ernie Branch

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

    Aurelie Forks

  • @nitheshmasam9859
    @nitheshmasam9859 6 дней назад

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

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

    Hyatt Cape

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

    Collins Stream

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

    Tess Hill

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

    Kallie Heights

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

    Aric Burgs

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

    Abernathy Station

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

    Charley Glen

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

    Lesley Oval

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

    Daniel Trace

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

    Mikel Ferry

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

    Donnelly Junction

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

    Judge Burg

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

    Myrtle Ville

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

    Kassulke Squares

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

    Nienow Isle

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

    Jovanny Turnpike

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

    Baumbach Unions

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

    Jonathon Street

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

    Rutherford Ports

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

    Ahmed Loaf

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

    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  4 месяца назад

      Do u know how to create a database in eclipse

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

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

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

    the import option didnot come for me when i clicked connection

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

      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.

  • @WalterSylvia-f4v
    @WalterSylvia-f4v 2 месяца назад

    Block Loop

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

    Franecki Bypass

  • @SiddhaKu-rq7oy
    @SiddhaKu-rq7oy 4 месяца назад +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  4 месяца назад +1

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

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

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

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

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

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

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

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

      You know na how to use mysql database

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

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

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

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

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

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

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

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

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

    Van Mews

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

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

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

    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  10 месяцев назад

      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.

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

    Connection establish hone ke bad database me data kese insert kre

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

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

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

    Hey can you help me with something? Please

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

      sure i will help you 😊

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

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

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

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

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

      np , use the classpath instead

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

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

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

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

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

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

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

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

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

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

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

      you cn also use the world schema

  • @EdwardTyler-p4c
    @EdwardTyler-p4c Месяц назад

    Blanda Common

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

    my imports are underlined

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

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

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

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

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

    I am getting communication failure what to do

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

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

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

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

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

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

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

      @@RankoJunction then what to do

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

      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  8 месяцев назад

      or else you have to mail me ur project

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

      @@RankoJunction ur mail id

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

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

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

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

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

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

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

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

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

      jst open ur mysqlwork bench its there in the schemas

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

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

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

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

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

    Pathi than iruku meethi enga😮

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

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

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

      @@RankoJunction can u please share the link then

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

      ruclips.net/p/PL6cRnBq_4WgAP2i5kls87PqbvwM4UC5cu&si=-gc2E9cV3b2FO4ax

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

      hope this helps you

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

      @@RankoJunction thank u so much

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

    thank you

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

    Thank you