Connect to MySQL Database from Visual Studio Code and Run SQL Queries using SQLTools Extension
HTML-код
- Опубликовано: 4 окт 2021
- 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
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!!!!!
What a steep learning curve for something that is supposed to be straight forward. Thanks for the video!!!
Great video, was the last piece I needed to get VSCODE talking to a database. Signed a budding developer:)
Great video & awesome explanation.
Saved me a lot of time.
Now I can enjoy SQL with the comfort of VS code
Tried a lot of vids for connect mysqlworkbench with IDE, none worked, this one is a life saviour
After searching for like 30 minutes trying to find this answer, you video saved my sanity! Thank you!
it didnt worked in mine
Are you really that beautiful
THANK YOU!!! You don't know how helpful your video was to me
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
Thank you too for your subscription to the channel
Spent 4 hours and you saved me so much time.
Thanks a lot. You're the best! Short and concise!
thanks a lot it works, i browsed a bit and couldn't find the answer before i stumbled upon this great vid 👌
Awesome, it worked! You explained the whole thing very clearly! Thanks a lot man!
Grant privileges one not working for me
Pls help
Very clear and detailed explanation. Thanks
Man you are awesome!! thank you very much. You saved me from a lot of trouble.
awesome video, straight forward and easy explanation.
Great Explanation! Thank you Sir.
This tutorial was a life saver! Thank you!!
THANKK YOU! This was also the last piece I needed
Many thanks for clear explanations!
thanks a ton!
vs code is unreal!
it can run anything!
You've saved my ass within a skiddle of minutes
Thanks so much
Thank you so much sir, it worked! your explained is so good
Thanks for this video.. It worked so well for me too.. Have a nice day😊
This video is a life saver! Thanks a ton!!!
You're welcome
Thanks for this video.. It worked so well for me too.. Have a nice day
Awesome man, just awesome! Thanks.
You made my day, thanks a lot
Thanks very much for this. It has greatly helped me
this video was really helpfull,,,thanks broo
You are the best. Greetings fom 🇧🇷
Ur accent is soo good❤
تحية للتوانسة متابعك الجديد من المغرب
keep up the good work
Vous êtes le bienvenu et merci pour votre inscription
@@BoostMyTool لا شكرا على واجب..اتمنى لك مسيرة موفقة
Thanks for this tutorial , your accent seems like you are Tunisian
You are awesome!! thank you very much.
Thanks this video is helpful.
Thanks a lot for solving my problem
You're welcome
thank u so much as i was facing this issue
Thank you so much. its really work
great video. thanks for sharing
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
Thank you, appreciate your help
thanks friend it was a great tutorial
Thank you so much my good sir
Very useful..thanks
thanks bro nice explained
It worked! Thanks a lot
You're welcome
hii tanhs for this tutorial iteally helped
please i have been getting ER_BAD_DB_ERROR: Unknown database 'shop' after setting up my connection
Thank you so much for your help
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!
You are a hero!
bro how ur cmd prompt shows mysql ? mine says that no such thing found
muuuuuuuuuuuuuuuuuuuito bommmm, me ajudou demaissss!!!!!!!!!!!!!!! nota 10
Thank you very much!!
Before I do what you show as do I have to do anything ?other than downloading visual studio code?
When typing grant all privileges command...its saying that no database selected
thanks you for this video
Excellent Video.
Finally! Working.
I would love to see Closed Captions on this video!
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.
why my command prompt says 'mysql' is not recognized as an internal or external command,
operable program or batch file. ?
Thanks a lot brother
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
Hello can we make a html css php and mysql app only with vs code? Without use xamp or other same thing?
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?
Did you tried it , with a huge database remotely ?It is terribly slow there...
4:16 couldn't you use the Terminal that is part of VS Code instead of resorting to command prompt.
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.
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
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;
@@williamherewini8357 thank you so much it worked.
Thank you so muuuuch!!
version not showing please help its showing ; - 'mysql' is not recognized as an internal or external command operable program or batch file
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\
@@tkurtalan it's showing system cannot find the path specified
There's another video in the i button.
Worked out for me
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
Your English is so great , where are you from
Why dont I have the button for execution the sql code ?
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!
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?
Yes
i am still getting the error mysql not recognized by internal or external.....even after copy paste..ing the path
Thank you!!! 👍
how to open the project in this which i have already in my computr
I have a problem at 4:00 it says ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I am facing same problem how did you solved it?
@@PriyaVerma-zk2zx I somehow managed to reset my password but I can't remember exactly how I did it
Open task manager > go to services > search for mysql80 or something like this > right click and start the service
go sudo
or
if that doesnt work
in sudo
try mysql -u root mysql
@@PriyaVerma-zk2zx did you solved the problem
thanks broo lotsss😍😍😍😍😍
Does he create a new user at hostname % or x?
Good Work !
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
thanks man :)
Sir still i am getting access denied error for user in vs code
it is showing=> connect ECONNREFUSED ::1:3306
thanks a lot🙌
Thanks Sir...
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
did you find the solution?
What is the command prompt codes on Linux
but do I have to first create a username and password named "admin"?
Can this will be connect with Ubuntu server database??
Simple explain that is good but i want to ask how to connect with our java program.❤
Add subtitles please, you must access checkboks in settings of video
how can i get it on mac
thank you 😊
Thank you
THANK YOU !!!!