I've watched tons of different coding tutorials, this was by far one of my favorites. You do an amazing job and I hate to see that you haven't added anything in the last few months. Please keep it up, you are very good at explaining things.
This is one of the best tutorials about using MySQL with Node in youtube. I really enjoyed watching your tutorial and gained a lot of usefull knowledge about topic. You really did a great job !
Thank god someone can actually explain this clearly, comprehensively and concisely - everything I needed to know and nothing I didn't - much appreciated mate 👍
I've been watching a lot of tutorials on connecting MySQL to VSCode and using ExpressJS to implement it. None of the videos gave me a clear idea of what to do. But when I watched your video, you basically made everything clear to me. Just wanted to say thanks for the instructions and keep up the good work.
Thanks so much! I LOVE LOVE LOVE how you explain the context of why we write the code a certain way. Helps me out so much knowing background info and prevents me from just following along too blindly!
I'm a complete newbie to development and JS. Only been sincerely interested in the topic of software development for a few months now. First watched this Video a few weeks ago and didn't understand a lot of it, let alone all. I guess I just wasn't ready for it. Watched it again now, after a lot of reading and watching other videos which were all more or less helpful. And I must say: At this point, all makes perfect sense to me and I am positively amazed as to how much knowledge and practical advice you can put into less then 30 min. of video. Respect for all your skills and thanks for sharing it!
This is a really good guide to using MySQL with express. I first completed the prior tutorial, the Express JS Crash Course. I extended the work I did there during this MySQL tutorial with only a few minor tweaks - uninstalled express 4, installed express 5 beta. Used server.js instead of app.js. Had to change to use ES modules instead of commonjs, so I had to remove 'require' and use imports. Then the rest of the changes were just in database.js (in the first tutorial, it's just a hard-coded in-memory object). It works great! Thanks!
Man, you don't even know how this video helped me, thank you so much for the didactics and for keeping the language simple for those who aren't natives!
Fantastic! I really enjoyed this honestly, I kept pausing and rewinding the clip over and over and not because it was hard to grasp rather was your delivery, absolute fire . I am so happy for accidentally coming across your channel you're a real one Sam, Cheers.
I love this!! especially the voice of the instructor -- I can listen to it all day! 😀 i was afraid of mysql (connecting it to some front-end code) for a long time and this is super helpful. thank you.
Dunno How I glad I felt at the very beginning of this tutorial, ever better jajaja dunno how to describe How I felt after complete these almost 30 minutes. Just to try to be accurate, It was in-depth, updated, straightforward MySQL, Node.js and Express master Class...!!! Thank so much!! Sorry I'm not english native speaker But I did my best in order to express my self!!! In a nutshell it was spotless tutorial!!! Thanks Dude! Thanks Sam Meech-Ward!!!!!!!!
watching this pretty late but I enjoyed every bit of it. I really love how you made the everything connect and how information can be accessed and modified through different channels. great work. Thanks for this.
Perfect, I searched for info when I had problem related to connection and data interaction with remote MySQL DB. This explained everything in one place. Thanks!
This is just a really amazing video, where someone with no idea about NodeJs can start using it with such a great database manager as mysql... GREAT JOB! I am so following you!!!
I fell inlove with the way you teach and write those lines of code, i haven't started learning SQL Database yet but you have given me heads up. Thank you
Yo, Iove your content man. You take the time to explain nuances and potential issues that may arise from certain practices such as SQL Injection. Keep up the good work, you're making a difference out here.
Hi! Maybe you should have said from the start that this is not a beginner friendly kind of thing. Really struggled to understand anything, but that's what you get for being a beginner in this field. Will come back to this video once I get a better grasp of MySQL. Thank you for now!
Thank you thank you! I'm an experienced windows developer but have struggled to find a video that explains the detail you do so I can acutally get my apps to run. You are a great teacher!
Thanks so much for this tutorial. I am taking my first step into development and am trying to build an app for my workplace. This has been immensely helpful.
Sam thank you! So informative and easy to follow. I couldn't find the mySQL install video in the description but I did figure it out. Still didn't know where you were running mySQL commands, I had to use MySQL Workbench.
if you're having a problem with using the Promise API -> await can only be used in an asynchronous function use the module type instead to import 'mysql' -> 2:08
I just get this error when i run the code at 5:01... const result = await pool.query("SELECT * FROM users"); ^^^^^ SyntaxError: await is only valid in async functions and the top level bodies of modules
You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function.
If you see this please pin it or comment and pin your comment. For anyone who gets an error at You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function. Also, async works in Express 4 as well, you don't need version 5 to use it.
This was Awesome Tutorial 🚀⭐I learnt a lot of things trying out different things after what you coded and it was just so so impressive . Thank You so Much !!
fantastic ! clear right to the point code , thank you so much . btw how long it took to become this expert 😅 you exactly know what to do in any scenario,
I've watched tons of different coding tutorials, this was by far one of my favorites. You do an amazing job and I hate to see that you haven't added anything in the last few months. Please keep it up, you are very good at explaining things.
This is one of the best tutorials about using MySQL with Node in youtube. I really enjoyed watching your tutorial and gained a lot of usefull knowledge about topic. You really did a great job !
What is clean code? Hard to define, but you know it when you see it. THIS is CLEAN CODE. Thanks for showing all of us how it's done.
Thank god someone can actually explain this clearly, comprehensively and concisely - everything I needed to know and nothing I didn't - much appreciated mate 👍
I've been watching a lot of tutorials on connecting MySQL to VSCode and using ExpressJS to implement it. None of the videos gave me a clear idea of what to do. But when I watched your video, you basically made everything clear to me. Just wanted to say thanks for the instructions and keep up the good work.
Thanks so much! I LOVE LOVE LOVE how you explain the context of why we write the code a certain way. Helps me out so much knowing background info and prevents me from just following along too blindly!
Just getting back into JS after a several year break, great tutorial that shows how modern Node apps can be structured. Thanks for posting!
I can't even wrap my head around on how you packed this much of AMAZING content in such a small video. Hats off to you.
I can't even wrap my head around on how he used await outside async scope
@@vityamv top level await
I'm a complete newbie to development and JS. Only been sincerely interested in the topic of software development for a few months now.
First watched this Video a few weeks ago and didn't understand a lot of it, let alone all. I guess I just wasn't ready for it.
Watched it again now, after a lot of reading and watching other videos which were all more or less helpful.
And I must say:
At this point, all makes perfect sense to me and I am positively amazed as to how much knowledge and practical advice you can put into less then 30 min. of video.
Respect for all your skills and thanks for sharing it!
This is a really good guide to using MySQL with express. I first completed the prior tutorial, the Express JS Crash Course. I extended the work I did there during this MySQL tutorial with only a few minor tweaks - uninstalled express 4, installed express 5 beta. Used server.js instead of app.js. Had to change to use ES modules instead of commonjs, so I had to remove 'require' and use imports. Then the rest of the changes were just in database.js (in the first tutorial, it's just a hard-coded in-memory object). It works great! Thanks!
All your tutorials are great to follow on practice without missing out............Awesome attribute you have got!!
This tutorial is amazing! Very straightforward
Man, you don't even know how this video helped me, thank you so much for the didactics and for keeping the language simple for those who aren't natives!
Fantastic! I really enjoyed this honestly, I kept pausing and rewinding the clip over and over and not because it was hard to grasp rather was your delivery, absolute fire . I am so happy for accidentally coming across your channel you're a real one Sam, Cheers.
Absolutely amazing! So much knowledge passed through in less than 30 mins. Please keep building and keep making vids
I love this!! especially the voice of the instructor -- I can listen to it all day! 😀
i was afraid of mysql (connecting it to some front-end code) for a long time and this is super helpful. thank you.
Dunno How I glad I felt at the very beginning of this tutorial, ever better jajaja dunno how to describe How I felt after complete these almost 30 minutes.
Just to try to be accurate, It was in-depth, updated, straightforward MySQL, Node.js and Express master Class...!!! Thank so much!!
Sorry I'm not english native speaker But I did my best in order to express my self!!!
In a nutshell it was spotless tutorial!!!
Thanks Dude! Thanks Sam Meech-Ward!!!!!!!!
I really love your tutorial which is straightforward and clear. Especially mentioning like why it is the better way to write code. Super helpful!!
It is very helpful video for those looking for 'how to connect node.js app to Mysql ". To-the-point tutorial.
Great video! As a computer science student who has studied these concepts/frameworks in class, this was a fantastic streamlined refresher!
Thanks a lot, you save my first web project !!!
You are the goat
Your video is better than 99% of online formation
Yessss I agree 😎
watching this pretty late but I enjoyed every bit of it. I really love how you made the everything connect and how information can be accessed and modified through different channels. great work. Thanks for this.
Perfect, I searched for info when I had problem related to connection and data interaction with remote MySQL DB. This explained everything in one place. Thanks!
Great video. Love how you should your errors, the error message, and how to fix them. Very refreshing.
Man, all I can say is you are such a wonderful teacher, thank you!
woooo this is hands down one of the best videos on the subject I ever watched! sorry if I sound like a bot, but really.. good job sir!
This is the only video I found that actually helped me get my backend up and running! Thank you!!
That's the best tutorial for which i was looking for.
Understood each and every line. Thanks Sam
This is just a really amazing video, where someone with no idea about NodeJs can start using it with such a great database manager as mysql... GREAT JOB! I am so following you!!!
After watching the first 7:45 seconds, I’ve determine you’re the goat! 🐐
I fell inlove with the way you teach and write those lines of code, i haven't started learning SQL Database yet but you have given me heads up. Thank you
This is the best video on the face of this earth
I learned lots of things from this video than any other coding video. Thank you very much!
Yo, Iove your content man. You take the time to explain nuances and potential issues that may arise from certain practices such as SQL Injection. Keep up the good work, you're making a difference out here.
The whole day I have watched your video and finnally solved my issue
Thanks for your contribution to the dev community
Sam your a genius for real I love how you make everything simple and easy to understand keep up the good work my brother
Thank you 🤗
You just created something excellent in less than 30 min. Wonderful
Savage! 28 minutes of mindblowing coding, thx dude!
clear, concise and helpful. Thanks a lot for this nice demonstration, Sam.
Thank you so much, I couldn't find anything specific to what I am trying to do, so finding this was a godsend! Interesting ideas and ways to do this
This cleared up a lot of issues I was having passing query results to the client, great content!
Awesome tutorial man, great explanation and good at sharing best practices, some just do stuff without explaining, thank you
Damn first you solved my server problem and now this. this man is a node.js legend
As an experienced dev, who mainly works with mongoDb, this video was amazing sir. You earned a sub
Fantastic, to-the-point tutorial. Thank you!
Thank u a lot for your help. I was looking for many weeks how to connect mysql database from node Js. Now i did it !
Hi! Maybe you should have said from the start that this is not a beginner friendly kind of thing. Really struggled to understand anything, but that's what you get for being a beginner in this field. Will come back to this video once I get a better grasp of MySQL. Thank you for now!
One of the best tutorial for mysql node.js
Thank you thank you! I'm an experienced windows developer but have struggled to find a video that explains the detail you do so I can acutally get my apps to run. You are a great teacher!
really really nice tutorial, love that you export your query functions like that, my controllers would look so much cleaner !
Thanks so much for this tutorial. I am taking my first step into development and am trying to build an app for my workplace. This has been immensely helpful.
fantastic thank you. I got my app to work just like yours, pretty cool. Please slow down for us newbs :)
Sam thank you! So informative and easy to follow. I couldn't find the mySQL install video in the description but I did figure it out. Still didn't know where you were running mySQL commands, I had to use MySQL Workbench.
Loved your video! One doubt though. Will there be independent database files for every module i have in my application ?
Thanks
if you're having a problem with using the Promise API -> await can only be used in an asynchronous function
use the module type instead to import 'mysql'
-> 2:08
using common js ive tried to do require(mysql2/promise) but it still doesnt work
Great content, comprehensive enough, good pace 🙂
Danke!
I want to say Thank you. I really understod the content the why you explained it.. Very Very Nice.. Thannks again.. I learned a lot
This video is awesome. I wasn't able to get the async function to work properly until I installed note 5.0.0 version.
Thank you for keeping it short and explaining concepts very well. I intent to use this to build on top of GraphQL
Exactly the video I was looking for. Followed along and now I have a great starting point and some knowledge to make my own app. Thanks!
that's literally all i needed for my 20 makes project !
thank you
Dude, that tutorial was awesome! Thanks a lot for sharing the video!
Amazingly succinct and helpful. You answered all my questions. Thanks
Great video, thank you. This was exactly what I was looking for.
very usefull and clear enough for jouniors 💯 . Thank you
Thankyou sir loved your video! 🥰
You made so easy dude!!!! thanks for the master class ☺
Fantastic. Very easy to follow and to the point.
I just get this error when i run the code at 5:01...
const result = await pool.query("SELECT * FROM users");
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
I get the same issue. im not sure how he is not getting the same error. the createpool doesnt seem to be an async function.
It is in an asynchronous function. When declaring the function, he specified ‘async function getNotes() {‘
You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function.
Thanks for the short and crisp tutorial :)
Thank you. This was insightful and helpful. The explanations are short and concise and gives clear directive as to why you do what you do.
If you see this please pin it or comment and pin your comment.
For anyone who gets an error at
You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function.
Also, async works in Express 4 as well, you don't need version 5 to use it.
Thanks. That had me confused.
Your tutorials are fantastic! Would love to see a tutorial on AWS lambda functions and API gateway.
Amazing video, this helped so much and was very easy to follow. Thank you!
awesome!!! That was so helpful. like your teaching style
You're saving my life here. Amazing!
Who needs doctors? TH-camrs are the real life savers.
Thanks a lot for this content!
One question. How can we catch errors in this promises methods?
That was a great tutorial. I learned what I looked for
that was great class for me today
Thank you! This was just what i was looking for!
Dude, thanx for tutorial! Honestly, my first thought was, why the heck a young Hugh Laurie explains JS?? 😂 You REALLY look alike!
Really clean, really nice!
To the point and precise. Great Job!!
great video, very simple and detailed, thank you
This was Awesome Tutorial 🚀⭐I learnt a lot of things trying out different things after what you coded and it was just so so impressive . Thank You so Much !!
Hey Bro, What is the VSC extension that shows you the suggestions as you start to type allowing you to quickly complete your code??? 🤔
Great content as always Sam, love it!
This tut helped a lot.Nice💯
The content i was looking for great video much appericiate❤
Thanks for the video man, it was helpful for me
Great video for mysql and express v5
This was exactly what I was looking for! Thanks friend 🙂
you're amazing, thank you for the video and fro giving such a good explanation.
fantastic ! clear right to the point code , thank you so much . btw how long it took to become this expert 😅 you exactly know what to do in any scenario,
Nice, clean and simple code
Thank you for the great tutorial!
Thank you! This was a really good and informative tutorial! Helped me alot!
Great video. Well explained Sam.