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

  Рет қаралды 822,171

BoostMyTool

BoostMyTool

Күн бұрын

Пікірлер: 263
@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 Жыл бұрын
What a steep learning curve for something that is supposed to be straight forward. Thanks for the video!!!
@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
@nknnithinabc
@nknnithinabc 2 жыл бұрын
Tried a lot of vids for connect mysqlworkbench with IDE, none worked, this one is a life saviour
@jeanahollings
@jeanahollings 3 жыл бұрын
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 3 жыл бұрын
Thank you too for your subscription to the channel
@tvstation8102
@tvstation8102 2 жыл бұрын
Great video, was the last piece I needed to get VSCODE talking to a database. Signed a budding developer:)
@vivekjadhav9744
@vivekjadhav9744 2 жыл бұрын
Great video & awesome explanation. Saved me a lot of time. Now I can enjoy SQL with the comfort of VS code
@iMplimentation
@iMplimentation 2 жыл бұрын
THANK YOU!!! You don't know how helpful your video was to me
@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 👌
@MrBEEOUTCH
@MrBEEOUTCH 2 жыл бұрын
Spent 4 hours and you saved me so much time.
@soIatido
@soIatido 8 ай бұрын
THANKK YOU! This was also the last piece I needed
@3091mrcrowley
@3091mrcrowley 2 жыл бұрын
Awesome, it worked! You explained the whole thing very clearly! Thanks a lot man!
@biswabikashparida9691
@biswabikashparida9691 11 ай бұрын
Grant privileges one not working for me
@biswabikashparida9691
@biswabikashparida9691 11 ай бұрын
Pls help
@DrxppyAMV
@DrxppyAMV 2 ай бұрын
@@biswabikashparida9691 no
@maharun
@maharun Жыл бұрын
Thanks a lot. You're the best! Short and concise!
@techrose
@techrose 4 ай бұрын
This tutorial was a life saver! Thank you!!
@black_south5222
@black_south5222 6 ай бұрын
Thanks for this tutorial , your accent seems like you are Tunisian
@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
@حريةكرامة
@حريةكرامة 3 жыл бұрын
تحية للتوانسة متابعك الجديد من المغرب keep up the good work
@BoostMyTool
@BoostMyTool 3 жыл бұрын
Vous êtes le bienvenu et merci pour votre inscription
@حريةكرامة
@حريةكرامة 3 жыл бұрын
@@BoostMyTool لا شكرا على واجب..اتمنى لك مسيرة موفقة
@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 2 жыл бұрын
There's another video in the i button. Worked out for me
@tarunsingh951
@tarunsingh951 2 жыл бұрын
Man you are awesome!! thank you very much. You saved me from a lot of trouble.
@manikanthooli940
@manikanthooli940 9 ай бұрын
Ur accent is soo good❤
@VigneshKaniveta
@VigneshKaniveta 7 ай бұрын
it is showing=> connect ECONNREFUSED ::1:3306
@allanjohn7261
@allanjohn7261 2 жыл бұрын
please i have been getting ER_BAD_DB_ERROR: Unknown database 'shop' after setting up my connection
@TrusteestDesiChhora
@TrusteestDesiChhora Ай бұрын
Thank u so Mach one of the video all the problem solve thank you so much❤😊
@synzyro659
@synzyro659 2 ай бұрын
Keep up the good work man thanks so much 🙏🙏
@anup_narvekar
@anup_narvekar 3 жыл бұрын
This video is a life saver! Thanks a ton!!!
@BoostMyTool
@BoostMyTool 3 жыл бұрын
You're welcome
@omonditony9344
@omonditony9344 Жыл бұрын
You've saved my ass within a skiddle of minutes Thanks so much
@firstprinciples9854
@firstprinciples9854 2 жыл бұрын
Very clear and detailed explanation. Thanks
@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
@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
@djeguiwague2911
@djeguiwague2911 Жыл бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day
@modestasriabovas3977
@modestasriabovas3977 2 жыл бұрын
'mysql' is not recognized as an internal or external command, operable program or batch file.
@modestasriabovas3977
@modestasriabovas3977 2 жыл бұрын
Would be great if someone helped me out.
@maccoskuni8646
@maccoskuni8646 2 жыл бұрын
@@modestasriabovas3977 Hey budy on your cmd just cd to C:\Program Files\MySQL\MySQL Server 8.0\bin
@maccoskuni8646
@maccoskuni8646 2 жыл бұрын
@@modestasriabovas3977 Find your mysql folder then navigate to bin and then run mysql --version
@BoostMyTool
@BoostMyTool 2 жыл бұрын
watch this video kzbin.info/www/bejne/noHQlatug7uSe6s
@Austin-pw2ud
@Austin-pw2ud 2 жыл бұрын
kzbin.info/www/bejne/noHQlatug7uSe6s&ab_channel=BoostMyTool
@ngumpel222
@ngumpel222 7 ай бұрын
Thanks very much for this. It has greatly helped me
@zeus12345y
@zeus12345y 10 ай бұрын
this video was really helpfull,,,thanks broo
@SkyV77
@SkyV77 7 ай бұрын
bro how ur cmd prompt shows mysql ? mine says that no such thing found
@slowcoding
@slowcoding Жыл бұрын
Many thanks for clear explanations!
@cspointbysaurav
@cspointbysaurav 2 жыл бұрын
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?
@tiagodmota5840
@tiagodmota5840 2 жыл бұрын
You are the best. Greetings fom 🇧🇷
@yesmanforever1002
@yesmanforever1002 2 жыл бұрын
Awesome man, just awesome! Thanks.
@swagbgm4830
@swagbgm4830 5 ай бұрын
I got an Error opening connection Access denied for user 'admin'@'localhost'(using password:YES)
@Rex14550
@Rex14550 10 ай бұрын
Excellent Video.
@josiah8789
@josiah8789 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
@3r3bu5x9
@3r3bu5x9 2 жыл бұрын
thanks a ton! vs code is unreal! it can run anything!
@navyasri271
@navyasri271 2 жыл бұрын
When typing grant all privileges command...its saying that no database selected
@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.
@khaledhisham3624
@khaledhisham3624 5 ай бұрын
Your English is so great , where are you from
@gizachewalemu4534
@gizachewalemu4534 2 жыл бұрын
Great Explanation! Thank you Sir.
@SiddharthRay1
@SiddharthRay1 Жыл бұрын
awesome video, straight forward and easy explanation.
@X-factor6
@X-factor6 10 ай бұрын
thanks man :)
@kiaraargueta2011
@kiaraargueta2011 10 ай бұрын
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…
@marsakatlavincentprajwal289
@marsakatlavincentprajwal289 2 жыл бұрын
Sir still i am getting access denied error for user in vs code
@deepasri9698
@deepasri9698 2 жыл бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day😊
@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.
@zubairahmed-x8d
@zubairahmed-x8d 8 ай бұрын
thank u so much as i was facing this issue
@moloko_127
@moloko_127 Жыл бұрын
Why dont I have the button for execution the sql code ?
@fluttterdev1k
@fluttterdev1k Жыл бұрын
thanks friend it was a great tutorial
@iichika504
@iichika504 9 ай бұрын
Bro "mysql --version" Doesn't work
@SkyV77
@SkyV77 7 ай бұрын
yes same here
@yacinehbrahim6073
@yacinehbrahim6073 2 жыл бұрын
You made my day, thanks a lot
@saiei
@saiei Жыл бұрын
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIVILAGES ON *-* TO 'sqluser'@'%'' at line 1
@akhiljella5958
@akhiljella5958 Жыл бұрын
@@samuellazar554 this also not working, facing same error
@kingoflegends1029
@kingoflegends1029 Жыл бұрын
​@@akhiljella5958 in the second line GRANT ALL PRIVILEGES ON . TO 'sqluser'@'%' WITH GRANT OPTION; the "." needs to be surrounded by ' * ' symbol, youTube uses the symbol to format text to bold " *Like this* " so it doesn't show up in reply
@jamaljaafar6355
@jamaljaafar6355 Жыл бұрын
You need to Change ‘ into ' attention on that
@hazikali6434
@hazikali6434 9 ай бұрын
@@samuellazar554 mysql> CREATE USER 'sqluser'@'%' IDENTIFIED BY 'password'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'sqluser'@'%' WITH GRANT OPTION; mysql> FLUSH PRIVILEGES; use this
@hazikali6434
@hazikali6434 9 ай бұрын
you have to add two asterisk before and after full stop (.)
@minhnguyentue5248
@minhnguyentue5248 Жыл бұрын
You are awesome!! thank you very much.
@sjanakys6769
@sjanakys6769 Жыл бұрын
Firstmy sql connection not showing ^ arrow and in command prompt is not recognize as internal or external command
@marved-rv2kk
@marved-rv2kk Жыл бұрын
Can you please help me? I followed all the steps but i have an error: Error opening connection ER_BAD_DB_ERROR: Unknown database 'myshop'
@shmel850
@shmel850 Жыл бұрын
same
@shmel850
@shmel850 Жыл бұрын
Did you fix it?
@marved-rv2kk
@marved-rv2kk Жыл бұрын
@@shmel850 yes just create a database named myshop in mysql terminal
@marved-rv2kk
@marved-rv2kk Жыл бұрын
@@shmel850 CREATE DATABASE myshop;
@Irfanmalik-e6h
@Irfanmalik-e6h 2 ай бұрын
when i run sql files in vscode terminal mysql> source schema.sql; it give this error ERROR: Failed to open file 'schema.sql', error: 2 Please help me
@anonymous-3720
@anonymous-3720 Жыл бұрын
How and Where did you create the password?
@florincordos1097
@florincordos1097 2 жыл бұрын
I followed all the steps until at the terminal step where i have an error,this is the message from my command prompt:-> The term 'mysql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check t he spelling of the name, or if a path was included, verify that the path is correct and try again.
@BoostMyTool
@BoostMyTool 2 жыл бұрын
did you execute the command from the bin folder of mysql ? if yes, please check if this folder contains an executable file called "mysql.exe". if you don't have mysql installed, you should install it as explained in this video: kzbin.info/www/bejne/noHQlatug7uSe6s
@hayaalshareef1356
@hayaalshareef1356 2 жыл бұрын
I have a macbook pro laptop, and I am having issues with running the commands in the terminal. It keeps on saying mysql: command not found. What should I do?
@Theotav
@Theotav 2 жыл бұрын
brew install mysql
@hayaalshareef1356
@hayaalshareef1356 2 жыл бұрын
@@Theotav I do have it installed
@thewonder474
@thewonder474 Жыл бұрын
Thank you so much. its really work
@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?
@marierie101
@marierie101 Жыл бұрын
Yes
@aartikhatri2109
@aartikhatri2109 Ай бұрын
@@marierie101 yrr ye to kisi ne bataya hi nahi even in comments everyone is like run this command in cmd they must hv cleared pehle install kr then uska location dal.........
@Tewahedo16
@Tewahedo16 Жыл бұрын
Before I do what you show as do I have to do anything ?other than downloading visual studio code?
@toancdu
@toancdu 11 ай бұрын
Thank you so much for your help
@TotallynotBINH
@TotallynotBINH Жыл бұрын
Thank you so much my good sir
@susamay
@susamay 2 жыл бұрын
Finally! Working.
@momorin2566
@momorin2566 Жыл бұрын
but do I have to first create a username and password named "admin"?
@nabilakhansah
@nabilakhansah 2 жыл бұрын
Thank you so much sir, it worked! your explained is so good
@TheInternetFan
@TheInternetFan 2 жыл бұрын
4:16 couldn't you use the Terminal that is part of VS Code instead of resorting to command prompt.
@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 11 ай бұрын
same problem
@technicalmindsstudios1977
@technicalmindsstudios1977 Жыл бұрын
hii tanhs for this tutorial iteally helped
@yukunshang5315
@yukunshang5315 3 жыл бұрын
It worked! Thanks a lot
@BoostMyTool
@BoostMyTool 3 жыл бұрын
You're welcome
@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.
@maximorodriguez6849
@maximorodriguez6849 Жыл бұрын
how can i get it on mac
@stockmarketinusa1251
@stockmarketinusa1251 2 жыл бұрын
how to open the project in this which i have already in my computr
@kamilapassos1441
@kamilapassos1441 6 ай бұрын
muuuuuuuuuuuuuuuuuuuito bommmm, me ajudou demaissss!!!!!!!!!!!!!!! nota 10
@subhashnisoundhar7654
@subhashnisoundhar7654 9 ай бұрын
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😢
@imonmandal3663
@imonmandal3663 3 жыл бұрын
Thanks a lot for solving my problem
@BoostMyTool
@BoostMyTool 3 жыл бұрын
You're welcome
@conmoetramtinh
@conmoetramtinh 11 ай бұрын
Error opening connection self signed certificate in certificate chain. Help me solve this plzz
@nilamkautkar4206
@nilamkautkar4206 Жыл бұрын
Very useful..thanks
@user-cd8cg3yr1q
@user-cd8cg3yr1q Жыл бұрын
Referenced libraries under Java project is not visible . Please help me with this 🙏
@sweetcandy78
@sweetcandy78 Жыл бұрын
the command prompt show this error 'mysql' is not recognized as an internal or external command, operable program or batch file. how can i fix it?
@geraldmbuthia8780
@geraldmbuthia8780 Жыл бұрын
Add to environment variable
@handphoneblogger5434
@handphoneblogger5434 2 жыл бұрын
4:23 I stopped here...error 1524 plugin mysql native password is not loaded please help
@ДмитрийБаженов-д3в
@ДмитрийБаженов-д3в Жыл бұрын
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!
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
Thanks this video is helpful.
@mfAdvice
@mfAdvice Жыл бұрын
Can this will be connect with Ubuntu server database??
@liongamer538
@liongamer538 2 жыл бұрын
thanks bro nice explained
@ngn1810
@ngn1810 2 жыл бұрын
After I created the new database, I was unable to execute it...it said 'query with errors'...somebody help
@SoftwareSolutons
@SoftwareSolutons 3 жыл бұрын
Did you tried it , with a huge database remotely ?It is terribly slow there...
@UwU-dx5hu
@UwU-dx5hu 2 жыл бұрын
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
@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
@hellomyfriend974
@hellomyfriend974 2 жыл бұрын
What is the command prompt codes on Linux
@motodad1856
@motodad1856 2 жыл бұрын
I get this error : Connect ECONNREFUSED, what does this mean.
@Jesuisjusteunchat
@Jesuisjusteunchat 10 ай бұрын
thanks you for this video
@jnandeepdevsarma2966
@jnandeepdevsarma2966 Жыл бұрын
after saving the script run on active connection missing. Kindly help
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 31 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 15 МЛН
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 296 М.
SQL Tutorial for Beginners
44:57
Kevin Stratvert
Рет қаралды 2,2 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,2 МЛН
How to Connect HTML Form with MySQL Database using PHP
7:09
Technical Babaji (Tarique Akhtar)
Рет қаралды 2,5 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24