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

  Рет қаралды 831,064

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 👌
@3091mrcrowley
@3091mrcrowley 2 жыл бұрын
Awesome, it worked! You explained the whole thing very clearly! Thanks a lot man!
@biswabikashparida9691
@biswabikashparida9691 Жыл бұрын
Grant privileges one not working for me
@biswabikashparida9691
@biswabikashparida9691 Жыл бұрын
Pls help
@DrxppyAMV
@DrxppyAMV 3 ай бұрын
@@biswabikashparida9691 no
@maharun
@maharun Жыл бұрын
Thanks a lot. You're the best! Short and concise!
@soIatido
@soIatido 9 ай бұрын
THANKK YOU! This was also the last piece I needed
@MrBEEOUTCH
@MrBEEOUTCH 2 жыл бұрын
Spent 4 hours and you saved me so much time.
@VigneshKaniveta
@VigneshKaniveta 7 ай бұрын
it is showing=> connect ECONNREFUSED ::1:3306
@tarunsingh951
@tarunsingh951 2 жыл бұрын
Man you are awesome!! thank you very much. You saved me from a lot of trouble.
@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
@techrose
@techrose 5 ай бұрын
This tutorial was a life saver! Thank you!!
@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
@manikanthooli940
@manikanthooli940 9 ай бұрын
Ur accent is soo good❤
@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
@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
@allanjohn7261
@allanjohn7261 2 жыл бұрын
please i have been getting ER_BAD_DB_ERROR: Unknown database 'shop' after setting up my connection
@djeguiwague2911
@djeguiwague2911 Жыл бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day
@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
@black_south5222
@black_south5222 7 ай бұрын
Thanks for this tutorial , your accent seems like you are Tunisian
@حريةكرامة
@حريةكرامة 3 жыл бұрын
تحية للتوانسة متابعك الجديد من المغرب keep up the good work
@BoostMyTool
@BoostMyTool 3 жыл бұрын
Vous êtes le bienvenu et merci pour votre inscription
@حريةكرامة
@حريةكرامة 3 жыл бұрын
@@BoostMyTool لا شكرا على واجب..اتمنى لك مسيرة موفقة
@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 (.)
@deepasri9698
@deepasri9698 2 жыл бұрын
Thanks for this video.. It worked so well for me too.. Have a nice day😊
@zeus12345y
@zeus12345y 11 ай бұрын
this video was really helpfull,,,thanks broo
@omonditony9344
@omonditony9344 2 жыл бұрын
You've saved my ass within a skiddle of minutes Thanks so much
@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
@firstprinciples9854
@firstprinciples9854 2 жыл бұрын
Very clear and detailed explanation. Thanks
@synzyro659
@synzyro659 3 ай бұрын
Keep up the good work man thanks so much 🙏🙏
@TrusteestDesiChhora
@TrusteestDesiChhora Ай бұрын
Thank u so Mach one of the video all the problem solve thank you so much❤😊
@SiddharthRay1
@SiddharthRay1 Жыл бұрын
awesome video, straight forward and easy explanation.
@anup_narvekar
@anup_narvekar 3 жыл бұрын
This video is a life saver! Thanks a ton!!!
@BoostMyTool
@BoostMyTool 3 жыл бұрын
You're welcome
@ngumpel222
@ngumpel222 7 ай бұрын
Thanks very much for this. It has greatly helped me
@gizachewalemu4534
@gizachewalemu4534 2 жыл бұрын
Great Explanation! Thank you Sir.
@3r3bu5x9
@3r3bu5x9 2 жыл бұрын
thanks a ton! vs code is unreal! it can run anything!
@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
@nabilakhansah
@nabilakhansah 2 жыл бұрын
Thank you so much sir, it worked! your explained is so good
@slowcoding
@slowcoding Жыл бұрын
Many thanks for clear explanations!
@swagbgm4830
@swagbgm4830 6 ай бұрын
I got an Error opening connection Access denied for user 'admin'@'localhost'(using password:YES)
@tiagodmota5840
@tiagodmota5840 2 жыл бұрын
You are the best. Greetings fom 🇧🇷
@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?
@Rex14550
@Rex14550 10 ай бұрын
Excellent Video.
@khaledhisham3624
@khaledhisham3624 6 ай бұрын
Your English is so great , where are you from
@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;
@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 2 ай бұрын
@@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.........
@navyasri271
@navyasri271 3 жыл бұрын
When typing grant all privileges command...its saying that no database selected
@SkyV77
@SkyV77 8 ай бұрын
bro how ur cmd prompt shows mysql ? mine says that no such thing found
@kiaraargueta2011
@kiaraargueta2011 11 ай бұрын
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…
@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
@will_4799
@will_4799 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 Жыл бұрын
@@will_4799 thank you so much it worked.
@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
@yesmanforever1002
@yesmanforever1002 2 жыл бұрын
Awesome man, just awesome! 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.
@fluttterdev1k
@fluttterdev1k Жыл бұрын
thanks friend it was a great tutorial
@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
@marsakatlavincentprajwal289
@marsakatlavincentprajwal289 2 жыл бұрын
Sir still i am getting access denied error for user in vs code
@anonymous-3720
@anonymous-3720 2 жыл бұрын
How and Where did you create the password?
@minhnguyentue5248
@minhnguyentue5248 Жыл бұрын
You are awesome!! thank you very much.
@yacinehbrahim6073
@yacinehbrahim6073 2 жыл бұрын
You made my day, thanks a lot
@Irfanmalik-e6h
@Irfanmalik-e6h 3 ай бұрын
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
@technicalmindsstudios1977
@technicalmindsstudios1977 Жыл бұрын
hii tanhs for this tutorial iteally helped
@iichika504
@iichika504 10 ай бұрын
Bro "mysql --version" Doesn't work
@SkyV77
@SkyV77 8 ай бұрын
yes same here
@Sa.m140
@Sa.m140 3 жыл бұрын
C:\Users\ابو علي>mysql -- version 'mysql' is not recognized as an internal or external command, operable program or batch file.
@BoostMyTool
@BoostMyTool 3 жыл бұрын
This means mysql is not installed on your computer OR you did not add mysql to your system environment variables. to install mysql, you can either install mysql or xampp (which contains mysql) or wampserver (contains mysql). Then you need to add mysql to your system environment variables. you can see this video for more details: kzbin.info/www/bejne/aJDNkK2rm6yXjpY
@ДмитрийБаженов-д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!
@thewonder474
@thewonder474 Жыл бұрын
Thank you so much. its really work
@TheInternetFan
@TheInternetFan 2 жыл бұрын
4:16 couldn't you use the Terminal that is part of VS Code instead of resorting to command prompt.
@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.
@sjanakys6769
@sjanakys6769 Жыл бұрын
Firstmy sql connection not showing ^ arrow and in command prompt is not recognize as internal or external command
@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😢
@X-factor6
@X-factor6 11 ай бұрын
thanks man :)
@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
@Tewahedo16
@Tewahedo16 Жыл бұрын
Before I do what you show as do I have to do anything ?other than downloading visual studio code?
@nilamkautkar4206
@nilamkautkar4206 Жыл бұрын
Very useful..thanks
@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
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
Thanks this video is helpful.
@zubairahmed-x8d
@zubairahmed-x8d 9 ай бұрын
thank u so much as i was facing this issue
@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
@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!
@moloko_127
@moloko_127 Жыл бұрын
Why dont I have the button for execution the sql code ?
@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...
@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
@user-cd8cg3yr1q
@user-cd8cg3yr1q Жыл бұрын
Referenced libraries under Java project is not visible . Please help me with this 🙏
@toancdu
@toancdu Жыл бұрын
Thank you so much for your help
@liongamer538
@liongamer538 2 жыл бұрын
thanks bro nice explained
@aamalservices7630
@aamalservices7630 2 жыл бұрын
Thank you, appreciate your help
@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
@stockmarketinusa1251
@stockmarketinusa1251 2 жыл бұрын
how to open the project in this which i have already in my computr
@susamay
@susamay 2 жыл бұрын
Finally! Working.
@yukunshang5315
@yukunshang5315 3 жыл бұрын
It worked! Thanks a lot
@BoostMyTool
@BoostMyTool 3 жыл бұрын
You're welcome
@Alex_frost1994
@Alex_frost1994 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
@tanishqkathar26
@tanishqkathar26 Жыл бұрын
I am getting an issue in command prompt... It's showing mysql is not recognized as an internal or external parameter ... Please helppppp as soon as possible...
@conmoetramtinh
@conmoetramtinh Жыл бұрын
have u got the answer, i'm stuck too
@nikhilpal0302
@nikhilpal0302 9 ай бұрын
First of all you edit the path in your system. c drive ->program files->MySQL -> my SQL server-> Bin select the path and copy it And type in cmd edit environment variables paste karke ek baar chek karna 😊😊
@TotallynotBINH
@TotallynotBINH Жыл бұрын
Thank you so much my good sir
@motodad1856
@motodad1856 2 жыл бұрын
I get this error : Connect ECONNREFUSED, what does this mean.
@jnandeepdevsarma2966
@jnandeepdevsarma2966 Жыл бұрын
after saving the script run on active connection missing. Kindly help
@handphoneblogger5434
@handphoneblogger5434 2 жыл бұрын
4:23 I stopped here...error 1524 plugin mysql native password is not loaded please help
@wearecoader1958
@wearecoader1958 Жыл бұрын
Simple explain that is good but i want to ask how to connect with our java program.❤
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 28 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 39 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 68 МЛН
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 303 М.
MySQL Database connection from node js application
5:31
Technical Babaji (Tarique Akhtar)
Рет қаралды 342 М.
How TO Connect To MYSQL SERVER & RUN SQL Queries Using VSCode
11:25
MySQL - The Basics // Learn SQL in 23 Easy Steps
17:17
Fireship
Рет қаралды 918 М.
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 341 М.
25 VS Code Productivity Tips and Speed Hacks
11:35
Fireship
Рет қаралды 2,4 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН