How to install MySQL and connect with Java (JDBC) in VSCODE | JDBC Connectivity in Java with MySQL 🚀

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

КОМЕНТАРІ • 338

  • @CodingWallahSir
    @CodingWallahSir  Рік тому +20

    // sound kesi h video me ab and ye code aap loog copy kar sakte ho next video me ye sab smja dunga don't worry agar apne meri JDBC in 10 mintues ki video dekhi h tab apko smaj a rha hoga ye code i guess ?
    JDBC in 10 min - ua-cam.com/video/MOQfTuOiBys/v-deo.html
    Eclipse Setup - ua-cam.com/video/FbOfNoXrevY/v-deo.html
    VS code setup - ua-cam.com/video/-0X0BHLE0Dg/v-deo.html
    ----------------------------------------------
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.Statement;
    import javax.swing.JOptionPane;
    public class CreateDB {

    public static void main(String[] args) throws Exception {
    try {
    String url = "jdbc:mysql://localhost:3306/";
    String databaseName = "shivam";
    String userName = "root";
    String password = "BangBang@1234";

    Connection connection = DriverManager.getConnection(url,userName, password);

    String sql = "CREATE DATABASE " + databaseName;

    Statement statement = connection.createStatement();
    statement.executeUpdate(sql);
    statement.close();
    JOptionPane.showMessageDialog(null, databaseName + " Database has been created successfully", "System Message", JOptionPane.INFORMATION_MESSAGE);

    } catch (Exception e) {
    e.printStackTrace();
    }
    }
    }

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

      @gayuvtech hey do u know how to install connector now ? Coz i am also facing same issue

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

      ​MySQL version 8.0.25 wala download Karo. Thank me later ☺️ ​@gayuvtech@mohduzair

  • @UtsabPandey-hf9ie
    @UtsabPandey-hf9ie 2 місяці тому +2

    Thank you sir, successfully connected it. After trying for 16 days, You made me happy. Lots of love sir

  • @AryanKumar-vk1ex
    @AryanKumar-vk1ex 3 місяці тому +2

    Sir, finally I have run my program because of your efforts. Thank You Sir!😊

  • @Hemantlawania
    @Hemantlawania Рік тому +13

    Hi sir i have downloaded Mysql installer 8.0.34 & in this my sql java connector not present so plz suggest me which version of java connector i have download?

  • @learncode74
    @learncode74 Рік тому +20

    Sir connector or vs code ka option nahi aa raha hai setup me kya kare

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

      mere me bhi connector wala option nhi aarha

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

      same here. solve hua hoga to btade bhai

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

      same here bro

    • @rohitjangra8402
      @rohitjangra8402 18 днів тому

      @@vedantkadu bhai solve huaa ho to mujhe bhi bta de

    • @vedantkadu
      @vedantkadu 11 днів тому

      Mera sirf url galat hua tha.

  • @adarshmishra9376
    @adarshmishra9376 Рік тому +1

    Thank you so much sir 2 ghante se yt pe dhund rha hu aapka hi video kaam aya
    Thank you sir🙏🙏🙏🙏🙏❤️❤️

  • @technologybaba192
    @technologybaba192 Рік тому +45

    Sir my sql for vs code ka option hi nahi aa raha hai kya karu ?

  • @harshitrajput8199
    @harshitrajput8199 9 місяців тому +15

    mysql connection wala option show hi nahi ho raha mujha now what i have to do? pls give me soln

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

      same here. solve hua hoga to btade bhai

  • @PodNex
    @PodNex 10 місяців тому +5

    sir connector to aa hi nhi rha hai kya karu please help

  • @NeetuSharma-sk2pg
    @NeetuSharma-sk2pg 3 місяці тому +4

    Sir ive only three items in mySpl "Mysql documentation 8.0", "Mysql installer for windows", "sample and example 8.0"....what should i do to get connector...??

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

      same here. solve hua hoga to btade bhai

  • @jbmrdairyfarm
    @jbmrdairyfarm Рік тому

    Sir aap k pdhane ka tarika bht osm hh muje phli baar UA-cam pr asa koi channel Mila hu jo itna deeply jakr padhata hh. ❤❤

    • @CodingWallahSir
      @CodingWallahSir  Рік тому +1

      Thanks jatin for your valuable feedback ❤️❤️

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

    bhai tq soooo much yrrr ye humara main project tha eclipse pe exception aara tha vs code pe hogaya tqqqqq 😍😍😍😍😍

  • @Huffington-w8e
    @Huffington-w8e 8 місяців тому +5

    i just downloaded it butvs code option is not showing up in available products
    i have downloaded the latest version yet, what should i do now?

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

      same here. solve hua hoga to btade bhai

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

    Hello sir ye java projects down me show nahi kar raha hai recerence option bhi show nahi kar raha hai vscode me please help sir

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

    I am using vs code. when i simply click on 'run code' i am getting driver not found error. Then i downloaded 'Extension Pack for java' from the vs code extension menu. This has a separate option to run java. Whenever i click on 'run java' then it works but when i click on 'run code' it doesn't work.

  • @vivaanyadav1st
    @vivaanyadav1st Рік тому +3

    MySQL Connectors and MySQL for Visual Studio are not sowing in latest version of MySQL

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

    Sir, while installing mysql i didn't select the router. Now how do i add?..

  • @ahankamat
    @ahankamat Рік тому +3

    sir jo code hain createDB mein , where is it available?

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

    Thank you... it really help me.. when working in VSCode

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

    it worked👍👍👍👍, you ended my three days torture to make jdbc connector work👻

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

    Sir,In the windows service name :MySQL80 it shows an error like the window service name is already used.what should I do.

  • @B-04-MeghalNeema
    @B-04-MeghalNeema Рік тому

    Best video i have ever seen till now . sab kuch bataya ha aapne thank you so much sir.

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

    Very simply and beautifully explained 😊😊

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

    Thank you sir, you totally solved my problem..

  • @JANVIRUPAPARA-df5fw
    @JANVIRUPAPARA-df5fw Рік тому

    THANK YOUUUU SO MUCH BHAIYA
    Setup ho gayaaa🤩💓💫🥳🥳🥳🥳

  • @tanugupta9333
    @tanugupta9333 Рік тому +19

    bhaiya mere m connector ka option hi nhi aa rha

    • @vinayaksahu1617
      @vinayaksahu1617 7 місяців тому +2

      same

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

      @@vinayaksahu1617 same here. solve hua hoga to btade bhai

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

      @@vedantkadu bhai tumhara solve hua tou bata dou

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

    sir thank you for the perfect solution for jdbc connection it helpe me a lot 😍😍😍😍😍😍

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

    could not find mysql connector 7:23 ...please help

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

      same problem!

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

      @@sarthayush download the previous version of mysql...the version mentioned in video, u would get the mysql connector

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

    Done sir.... thanku so much it's so simple 👍

  • @AP09.
    @AP09. 11 днів тому

    Referenced library not showing vscode from java project

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

    Thank you very much sir. Main abhi MYSQL 8.0.38 install kiya hun hun . Isme connector ka option nahi hai.

  • @Jasneet
    @Jasneet Рік тому +1

    Thankyou So much sir, Ho gaya mera sab kuch sahi sahi

  • @TheHariPutraOfficially
    @TheHariPutraOfficially Рік тому +2

    Sir you are doing noble job .. Lord Krishna make your aim to come true
    HARE Krishna

    • @shardulrastogi4369
      @shardulrastogi4369 Рік тому

      Hello, were options of Connector in java, and Mysql for VS code available in MySQL installer.

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

    Sir plz a big request plz Solve it - When I use intellij IDE for coding JDBC then after some time My laptop turned into blue screen 😢

  • @bindubadeti334
    @bindubadeti334 6 місяців тому +2

    It's not showing MySQL connector and visual studio options

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

    sir you will explain it very well thank you sir

  • @ayaanmukri5110
    @ayaanmukri5110 Рік тому +1

    @CodingWallahSir Sir mere device me MySQL already installed hai but maine sirf workbench , shell and server install kiya tha to ab agar me firse install karuga to mere existing databases pe koi effect nahi hoga na ? and plus sir mujhe visual studios ka option hi nahi aa raha downloads me .

  • @YaSHRaJ-ou9qy
    @YaSHRaJ-ou9qy 8 місяців тому +5

    sir download p mera connector ni aara

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

    sir i am not6 able to do it pls help my situation is
    first i download the mysql installer and set the password but later i got to know that it is not the correct version so uninstalled everything and then again downloaded everything but at the stage of setting password it is not showing the same page as before so i thought i need to put the previous password ,so i did but again i am stuck pls help 😭😭

  • @1stGames
    @1stGames Рік тому +2

    After downloading mysql server and router installation fail. other things are installed. what should I do?

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

      make sure you are downloading the latest version AS this happens with older versions and since new vesion mai connector included nahi hota toh same version wala tumhe download karna hoga connector.

  • @vrinda_van_wasi
    @vrinda_van_wasi Рік тому +2

    Sir vs code me connector j nhi show ho rha h

  • @YoMemez
    @YoMemez 4 місяці тому +1

    Bro i'm not getting MySQL connectors in the Available product while installing

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

      same here. solve hua hoga to btade bhai

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

      ​@@vedantkadudon't know bhai, I didn't install it.

  • @MRSRIDHAR-s3h
    @MRSRIDHAR-s3h Рік тому +1

    how can i get sql command line client ?
    bhai please help me iam unable to find command line client
    is this any seperate software which we have to install irrespective to sql ????

    • @muskansah4487
      @muskansah4487 Рік тому

      I'm facing the same issue. were you able to solve it?

    • @raghuveersinghbora1424
      @raghuveersinghbora1424 Рік тому

      Command line client aa jaega apane aap, bas sir ne jesa kiya vesa karo. Kaha se open karna h batata hu : Press win key, then type Mysql, dikh jaega, password daal ke khol lena

  • @ramgawali6087
    @ramgawali6087 Рік тому +1

    Sir..MySQL Installer par MySQL VS CODE ye option aa hi nahi raha hai.. Kya karu ? (VS code installed hai )

  • @rahulsingh36033
    @rahulsingh36033 11 місяців тому +1

    Sir My laptop ( type and networking) ke interface main Next ka option nahi aa raha hai

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

    Sir command line open krne ke baad jb password daal rhe h tb apne aap hi page close ho jata h.. kya kyu

  • @studypoint8265
    @studypoint8265 Рік тому

    can you please tell me how to do the same in macos for C++, also I have xampp mysql database

  • @ramudsp9141
    @ramudsp9141 4 дні тому

    Thanks sir

  • @mustafabohra6581
    @mustafabohra6581 Рік тому +4

    sir at 6:48 MySQL for visual studio ka option show ahi ho rha he

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

    sir mera java project niche show nhi kar raha hai jahan aap ne jar file import kia

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

    Hi Sir Good Morning, I can't see Connector in MYSQL in program files can you help me with this please

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

      same here. solve hua hoga to btade bhai

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

    finally database was connected successfully

    • @trishita._x26
      @trishita._x26 5 місяців тому

      Can you find MySQL connector?

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

    Thank u so much....

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

      please can you send me the code ?

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

    connect ho gaya lekin ek code ko dubara run kr rahe hai toh error aa raha hai while creating database , any reason?

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

    Plz make video for installation setup first to end basic se

  • @danv2141
    @danv2141 Рік тому

    sir your video difrent of all

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

    laptop me my sql pehle se install ho to jar file kese install karenge

  • @shivammallik2359
    @shivammallik2359 Рік тому

    i have downloded 8.0.33 version and they have removed in application section they have removed mysql for vs what to do?

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      Please ask your doubt in my discord server setup config channel, support team or community will help you.

  • @sanatanitells855
    @sanatanitells855 Рік тому

    sir intellij me nhi kar sakta hu kya ye sab?

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

    Sir kindly explain that code in detail i didn't get what was written inside that code ❤

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

    sir vs code ka configuration nahi aa raha aur jdbc vs code se bhi connect nahi hoo rah hai

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

    sir connect nahi ho raha sql se command line client me databases me show nhi ho raha

  • @AbhishekSingh-b4u
    @AbhishekSingh-b4u 3 місяці тому

    mere me ye karne ke bad bhi likh rha driver not found.. what can I do now??

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

    You are awesome sir .. sir please provide the proper course as you mentioned in java developer road map 12LPA video ... I WOULD LOVE TO JOIN .❤

    • @CodingWallahSir
      @CodingWallahSir  11 місяців тому +1

      Will try to plain otherwise you can follow only this playlist.

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

    Tnq sir ❤

  • @Ankii_kumar
    @Ankii_kumar Рік тому +1

    Thanks sir 🎉 ❤ , webpage me link kese kya jata hai backend ko 1 video me ye bhi bata dijiyega please

  • @vedantgulhane4216
    @vedantgulhane4216 Рік тому

    Thank you very much sir🎉🎉

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

    Vs Code option and connector wala option nahi hai so iska koi solution?

  • @ManishaRathod-o1p
    @ManishaRathod-o1p 2 місяці тому +2

    Not showing option of connectors

  • @sereenasebastian6715
    @sereenasebastian6715 Рік тому

    Nothing is visible for me under java projects. What should i do??

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      Hi sareena please drop your issue on my discord server - support team will help you

  • @tirthprajapati3308
    @tirthprajapati3308 Рік тому

    Hello sir , I am trapped in "DriverClassNotFound " error within 10++ days , I completly follow your state and also try another things , but this error can not be resolved , so what can i do ?

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      Jdbc lecture?
      Share your error screen shoot in java doubts in discord

    • @aksharmishra9693
      @aksharmishra9693 Рік тому

      Bro any updates?

    • @tirthprajapati3308
      @tirthprajapati3308 Рік тому +1

      @@aksharmishra9693 yes , do same as in video in vs code , and run java instead of run code

    • @aksharmishra9693
      @aksharmishra9693 Рік тому

      @@tirthprajapati3308 ok brother thnx

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

      @@tirthprajapati3308 THANK YOU SO MUCH!!

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

    Thank you !

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

    Sir can u tell how to connect sql and jdbc in macos

  • @SatyamKumar-xx1or
    @SatyamKumar-xx1or Рік тому +1

    Not get the vs code option to mark on it

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

    bhaiya please java developer series me videos ke sequence sahe order me krdo bahot confusion hoo rahe he. please bhaiya

  • @shiveshgupta3205
    @shiveshgupta3205 Рік тому +1

    bhaiya abhi bhi error aa raha hai...
    "java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306"
    Pls help

  • @5e3satyasanthosh30
    @5e3satyasanthosh30 4 місяці тому

    Thank you sir

  • @jp.studypointprayagraj
    @jp.studypointprayagraj Рік тому

    Sir microsoft SQL server per java swing project with visual studio code se connection ki video bana kar dalo within 1 day

  • @-PavanSingh
    @-PavanSingh Рік тому

    sir mysql for vscode option is not showing what should i do?

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

    Mysql install k time mysql connection ka option nhi aaa raha ..j

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

      same here. solve hua hoga to btade bhai

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

    bhaiya woh server aur router install hone mwin error aara hai kya karna hai help please

  • @IshikaGarg-x1p
    @IshikaGarg-x1p 7 місяців тому

    My sql connector likha aa raha ha refrenced libraries ma ab magar not connected aa raha ha ab kya kara

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

    sir there is no option for mysql for vs code

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

    Thank you very much sir 🙏🏻🙏🏻

  • @MuhammadShahid-ci9sf
    @MuhammadShahid-ci9sf Рік тому

    Thanks sir video bhot ache hy

    • @CodingWallahSir
      @CodingWallahSir  Рік тому +1

      Thanks for your feedback muhmmad, I just made videos for these like comments

  • @chiraglalwani2995
    @chiraglalwani2995 Рік тому

    Sir 64 bit vala download kar lay kya Windows (x86,64bit) 8.0.32 657.6 MB vaal sir

    • @chiraglalwani2995
      @chiraglalwani2995 Рік тому

      Because mara processor Intel core i5 8250U hai cpu 1.60, 1.80 ghz 64 bit 8 gb ram hai

    • @CodingWallahSir
      @CodingWallahSir  Рік тому +1

      Ha 64bit wala kr sakte ho

  • @devabdul
    @devabdul Рік тому +1

    Thank you so much sir

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

    I don't have mysql connectors option😢😢😢😢

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

      Same here buddy please help me if you have done

  • @rohitthakur6397
    @rohitthakur6397 Рік тому

    Thankyou so much sir. 🙏

  • @soundaryabejugam608
    @soundaryabejugam608 Рік тому

    Thank you so much. It helps me a lot...

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      Glad to hear that

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

      @@CodingWallahSir sir pls reply us the solution of "vs code and connection option is not visible"
      Thank you

  • @pamidiram2437
    @pamidiram2437 11 місяців тому

    very nice explained anna ..

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

    sir connector and vs code ka option hi nahi aaya custom install k time

  • @bb1sr716
    @bb1sr716 Рік тому

    Bhai ho gaya itni khusi 😅😅😅

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      😅😅👍👍

    • @bb1sr716
      @bb1sr716 Рік тому

      @@CodingWallahSir wahan pe naa connector installation ke samaye dikha nahi Raha haii ap ko fhir se file ke upar click kar k j connector ko download karna padega tab jake hoga

    • @bb1sr716
      @bb1sr716 Рік тому

      @@CodingWallahSir bass itna chota sa Kam karna hai jiska bhi nahi ho raha

    • @bb1sr716
      @bb1sr716 Рік тому

      @@CodingWallahSir sir advance java ka ek free course Lao naa sir ek dum free main

    • @AryanKumar-vk1ex
      @AryanKumar-vk1ex 3 місяці тому

      @@bb1sr716 bro can you more elaborate your solution?

  • @anjalikori3823
    @anjalikori3823 Рік тому

    In my vscode in command pallate java create java project is not showing

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      not sure if setup is perfect then definitely milna chahiye ya youtube pr ya google pr try kro kahi kuch mile is se related becoz mene kbhi esa nahi dekha sahi se search kr rahe ho na ?

    • @anjalikori3823
      @anjalikori3823 Рік тому

      @@CodingWallahSir now it's showing after downloading java pack extension

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      @@anjalikori3823 good

  • @KrunalSolanki-f7c
    @KrunalSolanki-f7c 3 місяці тому

    Sir is setup ki files kahase laye aap
    Vo kese laye

  • @jayantadas907
    @jayantadas907 Рік тому +1

    How to do this using xampp . please make a video on this😢

  • @sanatanitells855
    @sanatanitells855 Рік тому

    sir jdbc ke liye jo aapne code likha hai vo kaise likha samjh me nhi aaya

    • @CodingWallahSir
      @CodingWallahSir  Рік тому

      comment section se copy krlo, me full tutorial bana rha hu usme smja dunga

  • @tauheed0532
    @tauheed0532 Рік тому +1

    how to connect jdbc in intellij IDEA

  • @MukulKumar-pp7gb
    @MukulKumar-pp7gb 7 місяців тому

    Sir ye code kaha se uthau ya type kru , please help🙏 18:04

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

    Sir mere mei connector ni aarha na hi vs code
    Mysql server bhi install ni horha fail arha hai

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

      Same issue agar tumhara ho gaya to please help me

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

      @@anupamkumar6796 ni hua solve bhut dimak maar liya 😅

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

      @@simranbehl9165 mera ho gaya maine bhi bahot kosis kia 2 din lagatar but aaj jake hua