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

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

КОМЕНТАРІ • 115

  • @jubayershikder7722
    @jubayershikder7722 10 місяців тому +4

    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

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

    Brooooo you’re the greatest man I’ve been trying this for months. Big ups man just followed, God bless

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

      Super .and thank you so much

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

    It shows error 1049 (42000) : unknown database 3306

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

      solution?

    • @SURYAS-re8oe
      @SURYAS-re8oe 4 місяці тому +1

      Instead of using 3306 use 33060 to create local host port

    • @_aman2602_
      @_aman2602_ 23 дні тому

      if still after entering 33060 the error is showing up then install mysql community server from google and then setup it in your terminal or cmd and then come here and type the name of database as - information_schema

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

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

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

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

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

    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  Рік тому

      Close the terminal and reopen and try again.

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

    Clear and easy to follow. Thank you!

  • @LUISCAÑIBANOMATEOS
    @LUISCAÑIBANOMATEOS 9 місяців тому +1

    great video, such a clear explanation !!

  • @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  Рік тому +4

      Just UA-cam & Agriculture Farming Currently. I Was a Engineering College Drop Out.

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

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

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

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

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

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

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

    Thank you. Excellent tutorial with successful set up.

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

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

  • @vedant5019
    @vedant5019 Рік тому +5

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

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

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

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

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

      Same error, did u find the solution ?

  • @synosahil
    @synosahil Рік тому +7

    Your videos are so helpful ❤

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

    thank you so much it worked so helpful ❤❤

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

    good vedio vary help full for me

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

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

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

    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.

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

    this is really helpful

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

    Very good tutorial, thank you!

  • @Rex-Solis
    @Rex-Solis 6 місяців тому

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

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

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

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

    Your videos are so helpful

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

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

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

    This video helps me alot bro 🤜🤛

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

    That was helpful, thank youuu

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

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

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

      Same problem bro

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

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

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

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

    • @akshitrawat3903
      @akshitrawat3903 Рік тому +9

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

      @@akshitrawat3903 thank you 👍

  • @lonewolf.8635
    @lonewolf.8635 Рік тому

    This video was very helpful

  • @NANI-zb2ql
    @NANI-zb2ql 4 місяці тому

    Thank you so much brother!!!

  • @GetAccess-z2j
    @GetAccess-z2j 5 місяців тому

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

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

    thank you, so helpful

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

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

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

      Monaco or Avnier next.

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

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

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

    Thankyou bro ❤😊

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

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

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

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

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

    it saved my time thanks bro

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

    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

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

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

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

      Which VSCode extension you are using the one I mentioned ?

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

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

  • @Diablo-tq8yb
    @Diablo-tq8yb 11 місяців тому

    Bro, the installer of package give me problems

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

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

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

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

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

      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 Рік тому

      thankyou@@kskroyaltech

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

    @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  Рік тому +1

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

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

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

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

      😊

  • @OthersWork-jl5eh
    @OthersWork-jl5eh 6 місяців тому

    this literally solve all my problems

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

    Why am I not getting server in my MySQL folder

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

      Neither I am getting Developer option

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

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

  • @DarkWays-oz1cf
    @DarkWays-oz1cf Рік тому

    Thanks bro. U good

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

    bro it worked like magic

  • @Doxing-i8n
    @Doxing-i8n 11 місяців тому

    why i dong have developer option?

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

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

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

    Thank you a lotttt

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

    thank you soo much!!

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

    How can I get the initial link?

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

    Thanks!

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

    where can i find the connectorrrrrrrrrrrrrrrrrrrrrrr

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

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

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

    Where are the links ?

  • @shubhamsingh-gq9uj
    @shubhamsingh-gq9uj Рік тому

    Thankyou ❤

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

    I'm seeing no active connection found

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

      Make sure the MYSQL server is running in the background

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

    I cant create user

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

    Thanks

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

    thanks

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

    best

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

  • @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 Рік тому

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

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

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

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

    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