How TO Connect To MYSQL SERVER & RUN SQL Queries Using VSCode

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • How TO Connect To MYSQL SERVER & Run SQL Queries Using Visual Studio Code. In this video, I am going to show you how to Install or setup MYSQL Server on windows 11, establish a connection to the MYSQL database using VISUAL Studio Code or VSCode and execute SQL Queries. We are going to fix some of the errors “er_not_supported_auth_mode” and successfully connect to the mysql database using VSCode
    Check Out My Website - kskroyal.com
    ~ Buy Me A Coffee
    buymeacoffee.com/kskroyal
    ~ BitCoinAddress
    36TPyi2xsUTre1idDZ5pPZFe97mRsrPxpK
    --------
    TimeStamps
    --------
    00:00 Introduction
    00:36 Download MYSQL & VSCODE
    01:29 Installing MySQL Server
    04:22 Adding MySQL Path TO Environment Variable
    06:36 Connecting to MySQL Database From VSCode
    09:16 Writing SQL QUERIES Using VSCODE
    ------------
    Most Recent Videos
    ------------
    Top 10 Must Have Gnome Extensions in 2023: • Top 10 Must Install Be...
    Installing Arch Linux On Gaming Laptop: • Installing Arch Linux ...
    Ubuntu 23.04 New Features: • Ubuntu 23.04 (Lunar Lo...
    Install Ubuntu on Apple Silicon Mac bare Metal: • How TO install UBUNTU ...
    Dual Boot Kali linux & Windows 11: • How to Dual Boot Kali ...
    Install Kali linux 2023 In Virtual Box: • How To Install Kali Li...
    ---------
    © KSK ROYAL
    MereSai
    ---------
  • НаукаНаука

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

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

    This video has been a great help. I can't thank you enough! Here to support your future workings.

  • @jubayershikder7722
    @jubayershikder7722 6 месяцев назад +3

    I was struggling with the authentication problem in general. I just randomly clicked just like other videos with no expectations that if it could fix my problem but you just nalied it. Finally I can do my work on sql, Huggggggggggggge thanks brother

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

    OMG you saved my life!!! Thank you so much! I've been trying to find out on how to resolve this problem for days and now I can start to learn SQL. THANKS A LOT!!!!!

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

    this is what I was looking for exactly, thank you!

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

    Clear and easy to follow. Thank you!

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

    Very good tutorial, thank you!

  • @user-nm1fn8uz9k
    @user-nm1fn8uz9k 5 месяцев назад +1

    great video, such a clear explanation !!

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

    Hi, thx its helpful
    But can you make git bash as the administrator to run the mysql in gitbash instead of powershell?

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

    Thank you. Excellent tutorial with successful set up.

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

    thank you so much it worked so helpful ❤❤

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

    THANKS ALOT SIR YOU MAKES A GREAT PINPOINT SOLUTION VIDEO. THANKS MAN

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

    Your videos are so helpful

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

    this is really helpful

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

    This video helps me alot bro 🤜🤛

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

    Hi bro! What can I do about active connection in VSCode??

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

    How do you create a new database on the side panel from vscode

  • @Rex-Solis
    @Rex-Solis 2 месяца назад

    Can you please tell how we can import csv file data into this vs code extension of mysql

  • @bullymaguire7341
    @bullymaguire7341 5 месяцев назад +3

    well your commands aren't working can't create user
    nor im able to grant all privileges it says syntax error

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

    thank you soo much!!

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

    That was helpful, thank youuu

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

    thank you, so helpful

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

    Thank you. I wonder what do you do for a living. You kinda manage a bunch of skills that making me a little bit worship.

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

      Just RUclips & Agriculture Farming Currently. I Was a Engineering College Drop Out.

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

    good vedio vary help full for me

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

    Man, I love your voice! You're just a Chez from Metal Family!

  • @synosahil
    @synosahil Год назад +7

    Your videos are so helpful ❤

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

    This Helps a lot, but when we already have a SQL file , we are not able to use that using this method, this only works when we do the new query after right clicking on the database in vscode, any workaround for this,
    I have even done
    use databasename and select database() ---> this is giving me null as result.
    please help on this.

  • @DarkWays-oz1cf
    @DarkWays-oz1cf 10 месяцев назад

    Thanks bro. U good

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

    Thanks!

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

    This video was very helpful

  • @saniakumari117
    @saniakumari117 7 месяцев назад +3

    I tried your steps but while installation , its not showing developer default mode ,
    video time-1:43

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

    Thank you a lotttt

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

    it saved my time thanks bro

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

    Why the terminal doesn't recognize mysql --version?
    I already add that address on local disk C (ex: C:\Program Files\MySQL\MySQL Server 8.0\bin) to Path on Environment.
    How do I fix that thing??

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

      Close the terminal and reopen and try again.

  • @shubhamsingh-gq9uj
    @shubhamsingh-gq9uj 9 месяцев назад

    Thankyou ❤

  • @OthersWork-jl5eh
    @OthersWork-jl5eh Месяц назад

    this literally solve all my problems

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

    can you do C++ connection with sql using Visual Code Studio?

  • @dreamscomestrue4114
    @dreamscomestrue4114 4 месяца назад +5

    It shows error 1049 (42000) : unknown database 3306

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

    bro it worked like magic

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

    Great video!! Amazing font bro, could you please me which it is?

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

      Monaco or Avnier next.

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

      Nope, it's neither, I later found out it is Anonymous Pro. Please check properly and lemme know

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

    thanks

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

    7:50 at this moment after entering localhost root password and everything the localhost database is not showing

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

      Even I am facing the same issue, did you get the solution for this

  • @Diablo-tq8yb
    @Diablo-tq8yb 7 месяцев назад

    Bro, the installer of package give me problems

  • @user-kh9wf2sn2o
    @user-kh9wf2sn2o 22 дня назад

    when i press the + to create new mysql connection, nothing happens

  • @user-tw6hc9zb3w
    @user-tw6hc9zb3w 6 месяцев назад

    why i dong have developer option?

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

    7:40 I entered the username, password, localhost... and the database is just not showing at all. Like nothing appens. Pls help me !

    • @xyz-sy8eu
      @xyz-sy8eu Месяц назад

      Same error, did u find the solution ?

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

    @5.25 - I am getting this error message in the terminal: "The term 'mysql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again." Any idea what I'm doing wrong? Cheers!

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

      Make sure mysql is installed on your computer and you added its install path to the system environment ..

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

      @@kskroyaltech This is where I screwed up, I didn't correctly add the path to the env. Cheers!

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

      😊

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

    100000 LIKES DUDE!!!!!!!!!!!!!!!!!! Succinct 🙌🙌🙌🙌🙌🙌🙌🙌🥂🥂🍻🍻🥂🥂🍻🍻⭐⭐⭐⭐⭐⭐

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

    Access denied for user 'root'@'localhost' (using password: YES), (how to fix this) :)
    pleaseee

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

    I cant create user

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

    best

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

    For some reasons localhost database isnt showing on my vscode and i dont know why is that

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

      Which VSCode extension you are using the one I mentioned ?

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

      ​@@kskroyaltech hey it worked today i dont know how but it did😅 thanks alot

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

    it's not working for me, I tried this several times already

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

    where can i find the connectorrrrrrrrrrrrrrrrrrrrrrr

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

    Hi bro
    At 5:45 when i enter password it shows me unknown database 3306 error could you please answer it if possible

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

    How can I get the initial link?

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

    I've done all the steps. But on vscode, i do the localhost username and password but after clicking enter nothing happens. Please help me if you can

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

      Make sure the MY SQL Server is running and try again.

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

      how do you make sure it's running tho?
      @@kskroyaltech

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

    Why am I not getting server in my MySQL folder

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

      Neither I am getting Developer option

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

    While creating a new user it shows "SyntaxError: Unexpected identifier 'user'"

    • @kskroyaltech
      @kskroyaltech  8 месяцев назад +2

      This is the format of the MYSQL commands to create a new user:
      *CREATE USER 'USERNAME'@'localhost' IDENTIFIED BY 'PASSWORD';*
      then grant all privileges by running this command:
      *GRANT ALL PRIVILEGES ON * . * TO 'USERNAME'@'localhost';*
      and lastly run
      *FLUSH PRIVILEGES;*

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

      thankyou@@kskroyaltech

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

    Fatal error : uncaught error: Class "mysqli" not found 😢, hooowww

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

    I'm seeing no active connection found

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

      Make sure the MYSQL server is running in the background

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

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

    After Enter password, in terminal its shows error 1049 unknown database 3306

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

      Same problem bro

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

      @@abhinavrnarayan did you find solution,? I m moved on workbench

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

      @@nagarajk3309 no bro I'm also using workbench rn

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

      mysql -h localhost -P 3306 -u root -p.........(before entering the port number its capital 'P' not a small one try checking this)

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

      @@akshitrawat3903 thank you 👍

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

    YOU ARE GREAT!!!!!!!!!!!!!!!!!!!!!

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

    i installed my sql and click + button the occurs this error massage "Error running command mysql.addConnection: command 'mysql.addConnection' not found. This is likely caused by the extension that contributes mysql.addConnection." why and how should i overcome this

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

      Which extension you are using ? at 7:03

    • @Peter-CDs
      @Peter-CDs 11 месяцев назад

      @@kskroyaltech
      "Error running command mysql.addConnection: command 'mysql.addConnection' not found. This is likely caused by the extension that contributes mysql.addConnection."
      mysql. This error is such a a pain

  • @akdattingal
    @akdattingal 19 дней назад

    create user 'root' @'%' identified with mysql_native_password by 'admin';
    ERROR 1524 (HY000): Plugin 'mysql_native_password' is not loaded
    plss help i am stuck here and cant move forward