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

  Рет қаралды 76,232

Ksk Royal

Ksk Royal

Күн бұрын

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
@jubayershikder7722
@jubayershikder7722 6 ай бұрын
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
@Codebake
@Codebake 8 ай бұрын
This video has been a great help. I can't thank you enough! Here to support your future workings.
@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!!!!!
@mohammedfouzan9115
@mohammedfouzan9115 6 ай бұрын
How do you create a new database on the side panel from vscode
@bullymaguire7341
@bullymaguire7341 5 ай бұрын
well your commands aren't working can't create user nor im able to grant all privileges it says syntax error
@xpunxisri
@xpunxisri 2 ай бұрын
this is what I was looking for exactly, thank you!
@saniakumari117
@saniakumari117 7 ай бұрын
I tried your steps but while installation , its not showing developer default mode , video time-1:43
@msann3612
@msann3612 8 ай бұрын
Hi bro! What can I do about active connection in VSCode??
@trevorjamesconsideracion1982
@trevorjamesconsideracion1982 4 ай бұрын
Clear and easy to follow. Thank you!
@Rex-Solis
@Rex-Solis 2 ай бұрын
Can you please tell how we can import csv file data into this vs code extension of mysql
@indraalvine3087
@indraalvine3087 11 ай бұрын
Hi, thx its helpful But can you make git bash as the administrator to run the mysql in gitbash instead of powershell?
@markoj2726
@markoj2726 9 ай бұрын
Very good tutorial, thank you!
@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.
@knowledge_Hub526
@knowledge_Hub526 8 ай бұрын
THANKS ALOT SIR YOU MAKES A GREAT PINPOINT SOLUTION VIDEO. THANKS MAN
@user-nm1fn8uz9k
@user-nm1fn8uz9k 5 ай бұрын
great video, such a clear explanation !!
@akashprathod
@akashprathod 5 ай бұрын
Thank you. Excellent tutorial with successful set up.
@dreamscomestrue4114
@dreamscomestrue4114 4 ай бұрын
It shows error 1049 (42000) : unknown database 3306
@divyeshpatel234
@divyeshpatel234 3 күн бұрын
solution?
@synosahil
@synosahil Жыл бұрын
Your videos are so helpful
@NotnameFounttokyoghoul
@NotnameFounttokyoghoul 7 ай бұрын
thank you so much it worked so helpful ❤❤
@domp6770
@domp6770 11 ай бұрын
this is really helpful
@johnbillbarangan6019
@johnbillbarangan6019 Ай бұрын
can you do C++ connection with sql using Visual Code Studio?
@user-kh9wf2sn2o
@user-kh9wf2sn2o 22 күн бұрын
when i press the + to create new mysql connection, nothing happens
@TheSurajJaiswalll
@TheSurajJaiswalll 9 ай бұрын
This video helps me alot bro 🤜🤛
@_osaid
@_osaid 11 ай бұрын
thank you soo much!!
@Diablo-tq8yb
@Diablo-tq8yb 7 ай бұрын
Bro, the installer of package give me problems
@a_to_zgaming5977
@a_to_zgaming5977 6 ай бұрын
good vedio vary help full for me
@gold_friday
@gold_friday 8 ай бұрын
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.
@user-tw6hc9zb3w
@user-tw6hc9zb3w 6 ай бұрын
why i dong have developer option?
@ubaydillahmaarif6810
@ubaydillahmaarif6810 6 ай бұрын
Access denied for user 'root'@'localhost' (using password: YES), (how to fix this) :) pleaseee
@laizinongcundeniba2352
@laizinongcundeniba2352 Жыл бұрын
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 Жыл бұрын
Just KZbin & Agriculture Farming Currently. I Was a Engineering College Drop Out.
@raveiandelacruz8378
@raveiandelacruz8378 9 ай бұрын
thank you, so helpful
@kskroyaltech
@kskroyaltech 9 ай бұрын
You're welcome!
@isiltarexilium798
@isiltarexilium798 10 ай бұрын
Man, I love your voice! You're just a Chez from Metal Family!
@kskroyaltech
@kskroyaltech 10 ай бұрын
Wow, thank you.
@DarkWays-oz1cf
@DarkWays-oz1cf 10 ай бұрын
Thanks bro. U good
@vedant5019
@vedant5019 9 ай бұрын
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
@nawelfardeheb5657
@nawelfardeheb5657 3 ай бұрын
That was helpful, thank youuu
@kskroyaltech
@kskroyaltech 3 ай бұрын
You're welcome!
@osamaalmelhem225
@osamaalmelhem225 7 ай бұрын
Thanks!
@basarunalan1709
@basarunalan1709 7 ай бұрын
Thank you a lotttt
@synosahil
@synosahil Жыл бұрын
Your videos are so helpful ❤
@kskroyaltech
@kskroyaltech Жыл бұрын
Thank you
@shubhamsingh-gq9uj
@shubhamsingh-gq9uj 9 ай бұрын
Thankyou ❤
@lonewolf.8635
@lonewolf.8635 7 ай бұрын
This video was very helpful
@kskroyaltech
@kskroyaltech 7 ай бұрын
Thank you very much
@fluttterdev1k
@fluttterdev1k 10 ай бұрын
it saved my time thanks bro
@kskroyaltech
@kskroyaltech 10 ай бұрын
Amazing
@Geasoncodm
@Geasoncodm 9 ай бұрын
it's not working for me, I tried this several times already
@OthersWork-jl5eh
@OthersWork-jl5eh Ай бұрын
this literally solve all my problems
@kskroyaltech
@kskroyaltech Ай бұрын
Awesome.
@thethirdeye5454
@thethirdeye5454 6 ай бұрын
I cant create user
@dariodark4683
@dariodark4683 9 ай бұрын
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 ?
@ikkibrittania7890
@ikkibrittania7890 3 ай бұрын
where can i find the connectorrrrrrrrrrrrrrrrrrrrrrr
@akdattingal
@akdattingal 20 күн бұрын
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
@sanskarkedia1987
@sanskarkedia1987 7 ай бұрын
thanks
@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 ай бұрын
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 ай бұрын
😊
@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
@enaaal6724
@enaaal6724 4 ай бұрын
Fatal error : uncaught error: Class "mysqli" not found 😢, hooowww
@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
@Anuj.Rastogi
@Anuj.Rastogi 9 ай бұрын
bro it worked like magic
@kskroyaltech
@kskroyaltech 9 ай бұрын
Yes it does.
@isachardamgi9
@isachardamgi9 8 ай бұрын
How can I get the initial link?
@kskroyaltech
@kskroyaltech 8 ай бұрын
Initial Link ?
@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
@satyaprasaddevineni9084
@satyaprasaddevineni9084 6 ай бұрын
same problem here. Did you sorted the issue ?
@harshsinha9709
@harshsinha9709 6 ай бұрын
Why am I not getting server in my MySQL folder
@harshsinha9709
@harshsinha9709 6 ай бұрын
Neither I am getting Developer option
@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
@sphere_1
@sphere_1 8 ай бұрын
While creating a new user it shows "SyntaxError: Unexpected identifier 'user'"
@kskroyaltech
@kskroyaltech 8 ай бұрын
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
@zamsMG
@zamsMG 10 ай бұрын
best
@yoyo5050
@yoyo5050 2 ай бұрын
100000 LIKES DUDE!!!!!!!!!!!!!!!!!! Succinct 🙌🙌🙌🙌🙌🙌🙌🙌🥂🥂🍻🍻🥂🥂🍻🍻⭐⭐⭐⭐⭐⭐
@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 ай бұрын
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 ай бұрын
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 ай бұрын
@@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
How To Connect MySQL To VsCode.. (For Windows)
16:03
Jess-Inspired
Рет қаралды 17 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 162 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 106 МЛН
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 267 М.
Run Offline LLMs on Android
6:53
Quacklearner
Рет қаралды 611
MySQL - The Basics // Learn SQL in 23 Easy Steps
17:17
Fireship
Рет қаралды 815 М.
Installing MySQL and Creating Databases | MySQL for Beginners
12:04
Alex The Analyst
Рет қаралды 320 М.
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,1 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 25 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 684 М.
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,9 МЛН
Что не так с раскладушками? #samsung #fold
0:42
Не шарю!
Рет қаралды 208 М.