How to Connect to MySQL in VS Code and Run SQL

preview_player
Показать описание

Are you running VS Code and want to connect to a MySQL database? You can do this within VS Code.

In this video, I'll show you how to install an extension, connect to a database, run some SQL, how to avoid common issues such as the "max idle time NaN" error, and how to create a database if you don't have one.

⏱ TIMESTAMPS:
00:00 - Install the extension
02:07 - Create a connection
05:25 - Create a new database
08:15 - Connect and run SQL
Рекомендации по теме
Комментарии
Автор

Clear, easy to follow and to the point. Every tutorial should be like this, thank you!

Nyxnik
Автор

im using a Macbook and this absolutely saved me thank you man

uchihaaliyah
Автор

That was a really cool video Ben! In fact I was not aware that - we can use an IDE tool to manage or manipulate data from a DB. I am new to it anyway, and I was thinking that IDEs in general are for Writing Code, not doing other jobs.

With this video I have learned that to manage a DB you don't necessarily need the appointed DBM tool to manage the DB, but it can be done via an IDE also, with the proper extensions of course.

And by all means, we must say thank you to You and to those that offer those extensions to the broader users global community. 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

aiasaiascon
Автор

Thank you for the nice explanation, very nice and easy to follow.

I do it smooothly until Step 2/3 (as 8:40 on your video).

I have "TEST CONNECTION" and it shows "Successfully Connected". But after i click the "SAVE CONNECTION" button, there is no connections appear on the left panel.

How could i solve this? 🥺🥺Hope to receive your support

nh.adorie
Автор

Thank you for your explanation....that is perfect

PiusTanui-th
Автор

Still not working.😥😥
'"C:\Program Files\MySQL\MySQL Server 8.0\bin"' is not recognized as an internal or external command,
operable program or batch file. showing me this again after following the video.

JagooTheBoss_-fj
Автор

even after creating a connection whenever i was trying to run code, it showed no active connection What shld i do

unleashinghues
Автор

i don't have mysql file in my laptop after following the steps, should i make one or what should i do ?

fz-khan
Автор

its showing me error when i add the passwrod

MileeshaPerera
Автор

Can I save the result table as a CSV file?

paulsilva
Автор

my sql says read econnrest how do you get through it.

kimroyale
Автор

In my vscode there can't print the location of database.. And can't add tables to database.. But there no error showing.. And in output side showing text send to terminal🤷🏻‍♀️🤷🏻‍♀️

safe_nas
Автор

I'm having issue ( unknown database sys) how to resolve this problem

laibashehzad
Автор

Hi I cant find the bin folder bit stuck

SithembeleTsotsi
Автор

i cant connect evertime i try to connect its showing an error

broken
Автор

i get eror while i test connection at create new connection

cygnusofficial
Автор

When i create a database i have error. It says error 1045(28000) how can i fix that 😢

svrsnp.
Автор

Have you ever thought about writing an ORM? One of the biggest issues I see in current ORMs is that they smell like developers created them, for the most part. Complex queries are so difficult with ORMs, yet so easy with raw SQL. I've never had the time (crazy as I've been a software engineer for more than 30 years) to really tear an ORM to pieces to find out why some of them are so terribly inefficient. Curious if they are simply badly designed and breaking some basic rules.
Thanks, as always!

PaulAllsopp-rhgb
Автор

what's the password or from where i set it please explain

informationwithvicky
Автор

Why would I want to connect MySQL to vs code? What profession needs that? Reply☠️

AlchemistTasmi
join shbcf.ru