Connect to MySQL Database from Visual Studio Code and Run SQL Queries using SQLTools Extension

Поделиться
HTML-код
  • Опубликовано: 4 окт 2021
  • Setup MySQL Connection in Visual Studio Code and Run SQL Queries using SQLTools. How to install and use SQLTools with Visual Studio Code. How to run SQL queries from Visual Studio Code. How to fix couldn't find any drivers installed yet. How to fix ER_NOT_SUPPORTED_AUTH_MODE Client does not support authentication protocol requested by server; consider upgrading mysql client.
    *******************************
    Free Document Proofreading
    Grammarly: grammarly.go2cloud.org/SH3YB
    ********************************
    Create new MySQL user with old authentication method:
    CREATE USER 'sqluser'@'%' IDENTIFIED WITH mysql_native_password BY 'password';
    GRANT ALL PRIVILEGES ON . TO 'sqluser'@'%';
    FLUSH PRIVILEGES; .
    ***********************************
    🔥 Complete Udemy Courses :
    Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
    Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
    Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
    ⬇️ Free Document Proofreading ⬇️
    ► Grammarly : grammarly.go2cloud.org/SH3YB

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

  • @vaylx2253
    @vaylx2253 2 года назад +6

    Man, this is the second time I watch this video, several months apart, and it's the second it saves me life. THANK YOU SO MUCH!!!!!

  • @richiemello3447
    @richiemello3447 10 месяцев назад +14

    What a steep learning curve for something that is supposed to be straight forward. Thanks for the video!!!

  • @tvstation8102
    @tvstation8102 2 года назад +8

    Great video, was the last piece I needed to get VSCODE talking to a database. Signed a budding developer:)

  • @vivekjadhav9744
    @vivekjadhav9744 Год назад +24

    Great video & awesome explanation.
    Saved me a lot of time.
    Now I can enjoy SQL with the comfort of VS code

  • @nknnithinabc
    @nknnithinabc 2 года назад +2

    Tried a lot of vids for connect mysqlworkbench with IDE, none worked, this one is a life saviour

  • @jessicabragg5261
    @jessicabragg5261 2 года назад +7

    After searching for like 30 minutes trying to find this answer, you video saved my sanity! Thank you!

  • @divine-favouranigbogu413
    @divine-favouranigbogu413 2 года назад +2

    THANK YOU!!! You don't know how helpful your video was to me

  • @jeanahollings
    @jeanahollings 2 года назад +6

    oy my gosh, thank you, thank you, thank you! i've been stuck on this for weeks now! you're walk through included every problem i ran into with vs code! i

    • @BoostMyTool
      @BoostMyTool  2 года назад +1

      Thank you too for your subscription to the channel

  • @MrBEEOUTCH
    @MrBEEOUTCH 2 года назад

    Spent 4 hours and you saved me so much time.

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

    Thanks a lot. You're the best! Short and concise!

  • @hanafirjl
    @hanafirjl 2 года назад +2

    thanks a lot it works, i browsed a bit and couldn't find the answer before i stumbled upon this great vid 👌

  • @3091mrcrowley
    @3091mrcrowley 2 года назад +14

    Awesome, it worked! You explained the whole thing very clearly! Thanks a lot man!

  • @firstprinciples9854
    @firstprinciples9854 2 года назад +3

    Very clear and detailed explanation. Thanks

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

    Man you are awesome!! thank you very much. You saved me from a lot of trouble.

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

    awesome video, straight forward and easy explanation.

  • @gizachewalemu4534
    @gizachewalemu4534 2 года назад

    Great Explanation! Thank you Sir.

  • @techrose
    @techrose 11 дней назад

    This tutorial was a life saver! Thank you!!

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

    THANKK YOU! This was also the last piece I needed

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

    Many thanks for clear explanations!

  • @3r3bu5x9
    @3r3bu5x9 Год назад

    thanks a ton!
    vs code is unreal!
    it can run anything!

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

    You've saved my ass within a skiddle of minutes
    Thanks so much

  • @nabilakhansah
    @nabilakhansah 2 года назад

    Thank you so much sir, it worked! your explained is so good

  • @deepasri9698
    @deepasri9698 2 года назад

    Thanks for this video.. It worked so well for me too.. Have a nice day😊

  • @anup_narvekar
    @anup_narvekar 2 года назад +10

    This video is a life saver! Thanks a ton!!!

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

    Thanks for this video.. It worked so well for me too.. Have a nice day

  • @yesmanforever1002
    @yesmanforever1002 2 года назад

    Awesome man, just awesome! Thanks.

  • @yacinehbrahim6073
    @yacinehbrahim6073 2 года назад +1

    You made my day, thanks a lot

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

    Thanks very much for this. It has greatly helped me

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

    this video was really helpfull,,,thanks broo

  • @tiagodmota5840
    @tiagodmota5840 2 года назад

    You are the best. Greetings fom 🇧🇷

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

    Ur accent is soo good❤

  • @user-ln6ol8yy6q
    @user-ln6ol8yy6q 2 года назад +1

    تحية للتوانسة متابعك الجديد من المغرب
    keep up the good work

    • @BoostMyTool
      @BoostMyTool  2 года назад +1

      Vous êtes le bienvenu et merci pour votre inscription

    • @user-ln6ol8yy6q
      @user-ln6ol8yy6q 2 года назад

      @@BoostMyTool لا شكرا على واجب..اتمنى لك مسيرة موفقة

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

    Thanks for this tutorial , your accent seems like you are Tunisian

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

    You are awesome!! thank you very much.

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 года назад

    Thanks this video is helpful.

  • @imonmandal3663
    @imonmandal3663 2 года назад

    Thanks a lot for solving my problem

  • @user-dc3ou2jt4v
    @user-dc3ou2jt4v 4 месяца назад

    thank u so much as i was facing this issue

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

    Thank you so much. its really work

  • @LamNguyen-nm1fq
    @LamNguyen-nm1fq 2 года назад

    great video. thanks for sharing

  • @livisliquoro5572
    @livisliquoro5572 2 года назад +4

    Hi,
    When I am setting up connections I am not getting list under connections tab in order to get connect and disconnect connection. Can you please help me in this

  • @aamalservices7630
    @aamalservices7630 2 года назад

    Thank you, appreciate your help

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

    thanks friend it was a great tutorial

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

    Thank you so much my good sir

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

    Very useful..thanks

  • @liongamer538
    @liongamer538 2 года назад

    thanks bro nice explained

  • @yukunshang5315
    @yukunshang5315 2 года назад +1

    It worked! Thanks a lot

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

    hii tanhs for this tutorial iteally helped

  • @allanjohn7261
    @allanjohn7261 2 года назад +3

    please i have been getting ER_BAD_DB_ERROR: Unknown database 'shop' after setting up my connection

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

    Thank you so much for your help

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

    Hey thank you! I got everything working up until trying to click the magnifying glass and see what I have inserted into my tables. I get the error "ERROR: Error while showing table records Cannot read properties of undefined (reading 'total')" source is the SQLtools extension. Nothing on the github the ticket has been open for 2 years LOL. Any thoughts? Cheers!

  • @Tomreado
    @Tomreado 2 года назад

    You are a hero!

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

    bro how ur cmd prompt shows mysql ? mine says that no such thing found

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

    muuuuuuuuuuuuuuuuuuuito bommmm, me ajudou demaissss!!!!!!!!!!!!!!! nota 10

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

    Thank you very much!!

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

    Before I do what you show as do I have to do anything ?other than downloading visual studio code?

  • @navyasri271
    @navyasri271 2 года назад +1

    When typing grant all privileges command...its saying that no database selected

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

    thanks you for this video

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

    Excellent Video.

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

    Finally! Working.

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

    I would love to see Closed Captions on this video!

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

    thanks, I thought this was the answer but using MariaDB 10.5.8 and trying to create the user using this old password format gives the error [check.... syntax to use near ' BY 'password' ' at line 1.] It seems on github that this function is depreciated. Any thoughts? I can't get connected using either VSCode or VS 2022.

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

    why my command prompt says 'mysql' is not recognized as an internal or external command,
    operable program or batch file. ?

  • @sandipmaurya7371
    @sandipmaurya7371 2 года назад

    Thanks a lot brother

  • @josiah8789
    @josiah8789 2 года назад +2

    for those having trouble with "check the manual that corresponds to your mysql server version for the right syntax to suer near 'IDENTIFIED BY 'password' "
    try this
    CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
    GRANT ALL ON *.* to user_name@localhost IDENTIFIED BY 'password';
    replace user_name with whatever your username is, and i think password is supposed to be replaced with whatever you set your password to

  • @cardinal6858
    @cardinal6858 2 года назад

    Hello can we make a html css php and mysql app only with vs code? Without use xamp or other same thing?

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

    My connection has been created and sql queries are executing successfully but in connections tab there are no connections can you please help me with this?

  • @SoftwareSolutons
    @SoftwareSolutons 2 года назад

    Did you tried it , with a huge database remotely ?It is terribly slow there...

  • @TheInternetFan
    @TheInternetFan 2 года назад +1

    4:16 couldn't you use the Terminal that is part of VS Code instead of resorting to command prompt.

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

    In my case, I'm trying to connect to a MySQL server on Azure, and it has SSL. Couldn't find any option to use my CA Certificate.

  • @benc7910
    @benc7910 2 года назад +2

    Hi,
    at @2:08 in the field 'Database' , you have 'myshop' , is it required to first create a database somewhere else and then use it when creating a connection ?
    Thank you

    • @williamherewini8357
      @williamherewini8357 2 года назад +8

      I had this question too. One way to go about it is:
      Run "mysql -u root -p" in cmd.
      Then create a database using: CREATE DATABASE myshop;

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

      @@williamherewini8357 thank you so much it worked.

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

    Thank you so muuuuch!!

  • @prateekpal7391
    @prateekpal7391 2 года назад +16

    version not showing please help its showing ; - 'mysql' is not recognized as an internal or external command operable program or batch file

    • @tkurtalan
      @tkurtalan 2 года назад +3

      Should change the directory to bin folder by the following command: cd Program Files\MySQL\MYSQL Server 8.0\bin But ofcourse go to main directory first by the command: cd\

    • @__._.._._.
      @__._.._._. 2 года назад

      @@tkurtalan it's showing system cannot find the path specified

    • @iam.mystic
      @iam.mystic Год назад

      There's another video in the i button.
      Worked out for me

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

    after i type the password it says ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be found
    plss help

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

    Your English is so great , where are you from

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

    Why dont I have the button for execution the sql code ?

  • @user-ci9ty6dl6m
    @user-ci9ty6dl6m Год назад

    hi there! I done all instructions and finally I have got the connection. But I get error when Im trying make require : Cannot read properties of undefined (reading 'undefined')
    Help me please!

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

    I have to ensure something. So we must install MySQL firstly to our local system in order to successfully run it in vscode, is that true?

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

    i am still getting the error mysql not recognized by internal or external.....even after copy paste..ing the path

  • @dc-tlc9654
    @dc-tlc9654 2 года назад

    Thank you!!! 👍

  • @stockmarketinusa1251
    @stockmarketinusa1251 2 года назад

    how to open the project in this which i have already in my computr

  • @xeliotrop
    @xeliotrop 2 года назад +8

    I have a problem at 4:00 it says ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

    • @PriyaVerma-zk2zx
      @PriyaVerma-zk2zx 2 года назад +1

      I am facing same problem how did you solved it?

    • @xeliotrop
      @xeliotrop 2 года назад

      @@PriyaVerma-zk2zx I somehow managed to reset my password but I can't remember exactly how I did it

    • @iamkashyapkumar
      @iamkashyapkumar 2 года назад

      Open task manager > go to services > search for mysql80 or something like this > right click and start the service

    • @vikalpparashar7898
      @vikalpparashar7898 2 года назад

      go sudo
      or
      if that doesnt work
      in sudo
      try mysql -u root mysql

    • @Chandankumaryck
      @Chandankumaryck 2 года назад

      @@PriyaVerma-zk2zx did you solved the problem

  • @abhijithp7569
    @abhijithp7569 2 года назад

    thanks broo lotsss😍😍😍😍😍

  • @googlewasmyyidea
    @googlewasmyyidea 2 года назад

    Does he create a new user at hostname % or x?

  • @laovoyage
    @laovoyage 2 года назад

    Good Work !

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

    bro how can i connect mt4 account into my website . so whatever i will trade it will show me as performance or graph in my website dashboard

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

    thanks man :)

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

    Sir still i am getting access denied error for user in vs code

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

    it is showing=> connect ECONNREFUSED ::1:3306

  • @saikatdas252
    @saikatdas252 2 года назад

    thanks a lot🙌

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

    Thanks Sir...

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

    when i typed first command in command propt it is saying :" mysql' is not recognized as an internal or external command,
    operable program or batch file." what should do here admin

    • @Hadi-gv9fb
      @Hadi-gv9fb 2 месяца назад

      did you find the solution?

  • @hellomyfriend974
    @hellomyfriend974 2 года назад

    What is the command prompt codes on Linux

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

    but do I have to first create a username and password named "admin"?

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

    Can this will be connect with Ubuntu server database??

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

    Simple explain that is good but i want to ask how to connect with our java program.❤

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

    Add subtitles please, you must access checkboks in settings of video

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

    how can i get it on mac

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

    thank you 😊

  • @ommishra7
    @ommishra7 2 года назад

    Thank you

  • @TheC1tss
    @TheC1tss 2 года назад

    THANK YOU !!!!