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

  Рет қаралды 755,548

BoostMyTool

BoostMyTool

2 жыл бұрын

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

Пікірлер: 257
@vaylx2253
@vaylx2253 2 жыл бұрын
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 ай бұрын
What a steep learning curve for something that is supposed to be straight forward. Thanks for the video!!!
@tvstation8102
@tvstation8102 2 жыл бұрын
Great video, was the last piece I needed to get VSCODE talking to a database. Signed a budding developer:)
@nknnithinabc
@nknnithinabc 2 жыл бұрын
Tried a lot of vids for connect mysqlworkbench with IDE, none worked, this one is a life saviour
@jessicabragg5261
@jessicabragg5261 2 жыл бұрын
After searching for like 30 minutes trying to find this answer, you video saved my sanity! Thank you!
@entertainment-bx7sb
@entertainment-bx7sb 2 жыл бұрын
it didnt worked in mine
@slimshady6242
@slimshady6242 Жыл бұрын
Are you really that beautiful
@divine-favouranigbogu413
@divine-favouranigbogu413 2 жыл бұрын
THANK YOU!!! You don't know how helpful your video was to me
@livisliquoro5572
@livisliquoro5572 2 жыл бұрын
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
@jeanahollings
@jeanahollings 2 жыл бұрын
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 жыл бұрын
Thank you too for your subscription to the channel
@vivekjadhav9744
@vivekjadhav9744 Жыл бұрын
Great video & awesome explanation. Saved me a lot of time. Now I can enjoy SQL with the comfort of VS code
@maharun
@maharun Жыл бұрын
Thanks a lot. You're the best! Short and concise!
@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!
@hanafirjl
@hanafirjl 2 жыл бұрын
thanks a lot it works, i browsed a bit and couldn't find the answer before i stumbled upon this great vid 👌
@allanjohn7261
@allanjohn7261 2 жыл бұрын
please i have been getting ER_BAD_DB_ERROR: Unknown database 'shop' after setting up my connection
@Tewahedo16
@Tewahedo16 Жыл бұрын
Before I do what you show as do I have to do anything ?other than downloading visual studio code?
@MrBEEOUTCH
@MrBEEOUTCH 2 жыл бұрын
Spent 4 hours and you saved me so much time.
@AthelstanEngland
@AthelstanEngland Жыл бұрын
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.
@firstprinciples9854
@firstprinciples9854 2 жыл бұрын
Very clear and detailed explanation. Thanks
@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.
@3091mrcrowley
@3091mrcrowley 2 жыл бұрын
Awesome, it worked! You explained the whole thing very clearly! Thanks a lot man!
@biswabikashparida9691
@biswabikashparida9691 7 ай бұрын
Grant privileges one not working for me
@biswabikashparida9691
@biswabikashparida9691 7 ай бұрын
Pls help
@Icyhandss
@Icyhandss 7 ай бұрын
why my command prompt says 'mysql' is not recognized as an internal or external command, operable program or batch file. ?
@cspointbysaurav
@cspointbysaurav Жыл бұрын
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?
@tarunsingh951
@tarunsingh951 Жыл бұрын
Man you are awesome!! thank you very much. You saved me from a lot of trouble.
@navyasri271
@navyasri271 2 жыл бұрын
When typing grant all privileges command...its saying that no database selected
@SoftwareSolutons
@SoftwareSolutons 2 жыл бұрын
Did you tried it , with a huge database remotely ?It is terribly slow there...
@SiddharthRay1
@SiddharthRay1 Жыл бұрын
awesome video, straight forward and easy explanation.
@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?
@SkyV77
@SkyV77 3 ай бұрын
bro how ur cmd prompt shows mysql ? mine says that no such thing found
@gizachewalemu4534
@gizachewalemu4534 2 жыл бұрын
Great Explanation! Thank you Sir.
@HanaNoufal
@HanaNoufal Жыл бұрын
i am still getting the error mysql not recognized by internal or external.....even after copy paste..ing the path
@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
@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!
@techrose
@techrose 25 күн бұрын
This tutorial was a life saver! Thank you!!
@slowcoding
@slowcoding Жыл бұрын
Many thanks for clear explanations!
@stockmarketinusa1251
@stockmarketinusa1251 2 жыл бұрын
how to open the project in this which i have already in my computr
@sjanakys6769
@sjanakys6769 Жыл бұрын
Firstmy sql connection not showing ^ arrow and in command prompt is not recognize as internal or external command
@MananSuriGaming
@MananSuriGaming 2 жыл бұрын
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
@UwU-dx5hu
@UwU-dx5hu Жыл бұрын
Please please please help me. The sqltool icon which is on the left sidebar of vs code disappeared. Without that I am not Being able to connect to mysql. Pleade tell me how can i bring back the icon
@ngn1810
@ngn1810 Жыл бұрын
After I created the new database, I was unable to execute it...it said 'query with errors'...somebody help
@ishikacasley2786
@ishikacasley2786 3 ай бұрын
do we have to create a new username and password for every db connection?
@yesmanforever1002
@yesmanforever1002 2 жыл бұрын
Awesome man, just awesome! Thanks.
@trevorjamesconsideracion1982
@trevorjamesconsideracion1982 4 ай бұрын
THANKK YOU! This was also the last piece I needed
@motodad1856
@motodad1856 2 жыл бұрын
I get this error : Connect ECONNREFUSED, what does this mean.
@nabilakhansah
@nabilakhansah 2 жыл бұрын
Thank you so much sir, it worked! your explained is so good
@kiaraargueta2011
@kiaraargueta2011 7 ай бұрын
Not sure if I’m the only one but it’s not letting me run it on my Mac. When I try opening run.bat it takes me back to visual studio code…
@greenary3587
@greenary3587 2 жыл бұрын
sir my cmd only playing microsoft play store coding download even when i download python from website it will not work and when i download with microsoft it will work what i do for solve this problem i dont understan what the problem
@marsakatlavincentprajwal289
@marsakatlavincentprajwal289 Жыл бұрын
Sir still i am getting access denied error for user in vs code
@TheInternetFan
@TheInternetFan 2 жыл бұрын
4:16 couldn't you use the Terminal that is part of VS Code instead of resorting to command prompt.
@omonditony9344
@omonditony9344 Жыл бұрын
You've saved my ass within a skiddle of minutes Thanks so much
@subhashnisoundhar7654
@subhashnisoundhar7654 5 ай бұрын
I was open the vs code to set a database and start it to connect the process of database and in connection settings ther was error like self signed certificate in certificate chain.....help me to slove this problem sir😢
@googlewasmyyidea
@googlewasmyyidea 2 жыл бұрын
Does he create a new user at hostname % or x?
@handphoneblogger5434
@handphoneblogger5434 Жыл бұрын
4:23 I stopped here...error 1524 plugin mysql native password is not loaded please help
@Sheikh_shakir
@Sheikh_shakir 2 жыл бұрын
While granting privileges it is showing ne error "no database selected" can anyone here help me?
@yacinehbrahim6073
@yacinehbrahim6073 2 жыл бұрын
You made my day, thanks a lot
@hellomyfriend974
@hellomyfriend974 2 жыл бұрын
What is the command prompt codes on Linux
@user-cd8cg3yr1q
@user-cd8cg3yr1q Жыл бұрын
Referenced libraries under Java project is not visible . Please help me with this 🙏
@mfAdvice
@mfAdvice 9 ай бұрын
Can this will be connect with Ubuntu server database??
@deepasri9698
@deepasri9698 2 жыл бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day😊
@conmoetramtinh
@conmoetramtinh 7 ай бұрын
Error opening connection self signed certificate in certificate chain. Help me solve this plzz
@3r3bu5x9
@3r3bu5x9 Жыл бұрын
thanks a ton! vs code is unreal! it can run anything!
@user-yo1dy8lz2z
@user-yo1dy8lz2z Жыл бұрын
I can't run the cmd code, what is the problem?
@jnandeepdevsarma2966
@jnandeepdevsarma2966 Жыл бұрын
after saving the script run on active connection missing. Kindly help
@VigneshKaniveta
@VigneshKaniveta 3 ай бұрын
it is showing=> connect ECONNREFUSED ::1:3306
@djeguiwague2911
@djeguiwague2911 10 ай бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day
@candy7333
@candy7333 7 күн бұрын
'mysql' is not recognized as an internal or external command, operable program or batch file.
@black_south5222
@black_south5222 2 ай бұрын
Thanks for this tutorial , your accent seems like you are Tunisian
@user-ln6ol8yy6q
@user-ln6ol8yy6q 2 жыл бұрын
تحية للتوانسة متابعك الجديد من المغرب keep up the good work
@BoostMyTool
@BoostMyTool 2 жыл бұрын
Vous êtes le bienvenu et merci pour votre inscription
@user-ln6ol8yy6q
@user-ln6ol8yy6q 2 жыл бұрын
@@BoostMyTool لا شكرا على واجب..اتمنى لك مسيرة موفقة
@swagbgm4830
@swagbgm4830 Ай бұрын
I got an Error opening connection Access denied for user 'admin'@'localhost'(using password:YES)
@trevorjohnson7128
@trevorjohnson7128 2 жыл бұрын
when going to CMD, i get the error 'mysql' is not recognized as an internal or external command, operable program or batch file. any fixes?
@BoostMyTool
@BoostMyTool 2 жыл бұрын
see this: kzbin.info/www/bejne/noHQlatug7uSe6s
@maximorodriguez6849
@maximorodriguez6849 11 ай бұрын
how can i get it on mac
@LamNguyen-nm1fq
@LamNguyen-nm1fq 2 жыл бұрын
great video. thanks for sharing
@AbdulraheemShatat
@AbdulraheemShatat Жыл бұрын
4:01 - I get stuck when typing my password as it denies access.
@fernandadaisy25
@fernandadaisy25 Жыл бұрын
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?
@marierie101
@marierie101 11 ай бұрын
Yes
@hariprasad7743
@hariprasad7743 Жыл бұрын
Error opening connection Unknown database 'mydatabase' source:MYsql extension ,error showing like this any one help me out
@momorin2566
@momorin2566 Жыл бұрын
but do I have to first create a username and password named "admin"?
@aamalservices7630
@aamalservices7630 2 жыл бұрын
Thank you, appreciate your help
@benc7910
@benc7910 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 жыл бұрын
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 Жыл бұрын
@@williamherewini8357 thank you so much it worked.
@minhnguyentue5248
@minhnguyentue5248 10 ай бұрын
You are awesome!! thank you very much.
@ngumpel222
@ngumpel222 3 ай бұрын
Thanks very much for this. It has greatly helped me
@tiagodmota5840
@tiagodmota5840 2 жыл бұрын
You are the best. Greetings fom 🇧🇷
@zeus12345y
@zeus12345y 7 ай бұрын
this video was really helpfull,,,thanks broo
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
Thanks this video is helpful.
@xeliotrop
@xeliotrop 2 жыл бұрын
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 жыл бұрын
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
@anup_narvekar
@anup_narvekar 2 жыл бұрын
This video is a life saver! Thanks a ton!!!
@BoostMyTool
@BoostMyTool 2 жыл бұрын
You're welcome
@vineetakajodiya
@vineetakajodiya 2 жыл бұрын
Hi, When I am setting up connections I am not getting a list under the connections tab in order to get connect and disconnect connections. Can you please help me with this..
@cspointbysaurav
@cspointbysaurav Жыл бұрын
I am facing same problem can you please help me ?
@prateekpal7391
@prateekpal7391 2 жыл бұрын
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 жыл бұрын
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
@imonmandal3663
@imonmandal3663 2 жыл бұрын
Thanks a lot for solving my problem
@BoostMyTool
@BoostMyTool 2 жыл бұрын
You're welcome
@manikanthooli940
@manikanthooli940 5 ай бұрын
Ur accent is soo good❤
@pradeepc2751
@pradeepc2751 Жыл бұрын
I can't connect to the server what to do
@fluttterdev1k
@fluttterdev1k 10 ай бұрын
thanks friend it was a great tutorial
@nilamkautkar4206
@nilamkautkar4206 Жыл бұрын
Very useful..thanks
@saansardar1215
@saansardar1215 2 жыл бұрын
Sir please tell me which version of Microsoft visual studio code is stable??i basically do everything in visual studio code be it sql files,c,c++,python etc.But recently i formatted my whole pc.Now i need to install again
@BoostMyTool
@BoostMyTool 2 жыл бұрын
you cannot choose the version, vscode will update itself to the latest version automatically
@likithgummidi7576
@likithgummidi7576 Жыл бұрын
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?
@dhanushetty2908
@dhanushetty2908 7 ай бұрын
What did you type for password in command promt
@rajatsharma5892
@rajatsharma5892 2 жыл бұрын
Thanks, Sir but how to give a name to an untitled query.
@alphabetagamma3113
@alphabetagamma3113 Жыл бұрын
while installing, the errors i got are different from the ones you are seeing. also when I am trying to check my MySQL version on command prompt, i cant see the version. can anyone please help?
@rain_yy
@rain_yy 7 ай бұрын
same problem
@Tomreado
@Tomreado 2 жыл бұрын
You are a hero!
@user56290
@user56290 2 жыл бұрын
I have done all the things in the video, but still getting the same error and databases are not showing. what should I do?
@thathojohannes1862
@thathojohannes1862 2 жыл бұрын
same here ey
@thewonder474
@thewonder474 10 ай бұрын
Thank you so much. its really work
@anonymous-3720
@anonymous-3720 Жыл бұрын
How and Where did you create the password?
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,1 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 104 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 3,6 МЛН
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 588 М.
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 267 М.
MySQL Full Course for free 🐬 (2023)
3:00:00
Bro Code
Рет қаралды 1,7 МЛН
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
How to Connect HTML Form with MySQL Database using PHP
7:09
Technical Babaji
Рет қаралды 2,3 МЛН
MySQL - The Basics // Learn SQL in 23 Easy Steps
17:17
Fireship
Рет қаралды 814 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 104 МЛН