Tip: For you who have a connection error related to access denied or can't be established between the containers => change "mysql" to "mysql2" in package.json AND when u imported it in index.js file.
Thanks, nice video! Could you do a demo with Typescript and seperating out dev / prod? Also would be good to mention volumes for mysql for data persistance.
Hi there - this might be a stupid question but I'm gonna ask ot anyway... How could you persist the data stored in the SQL DB? Thx in advance - any reply is appreciated
@@onthecodeagain that is true. And if someone wants to access that data, they can connect to the MySQL instance within the docker by either starting a shell in the docker, or going to port 3306 of the machine and using the userid and password for the db.
As far as I know, to deploy an Express -MySQL dockerized app to VPS the docker-compose bundle should contain Nginx or other server. In your video you have none of that. Why?
I don't think Nginx is needed because the Node is itself listening on a port. So any http request you send to that port, Node is able to receive it and pass it on to Express.
Thank you! I was working on a project and your demo helped me a lot!
Fantastic!
Awesome explanation, thank you from Russia!
так рада что тебе понравилось! из Южной Африки
Thanks bro for the tutorial!!!!!! It was the only one that worked for me. Gracias dsd México
Thanks for watching! :D
Seemless tutorial, you've made it so simple. Thank you 💯
Thanks 😊
Thanks for helping out man! Great tutorial, much appreciated..
Thanks! :)
thank u from indonesia my friend🤟👊
thank u for the tutorial! really simple and helpful
Glad you liked it!
what should be the port number of mysql to connect by pooling?
Thank you ! Very good video tutorial
I have the same Bass! Also thanks for the video!!! :)
Yes man! P basses ftw! :)
Tip:
For you who have a connection error related to access denied or can't be established between the containers => change "mysql" to "mysql2" in package.json AND when u imported it in index.js file.
My television is too small, but this video sounds interesting.
YOU ARE THE BEST!
Thanks hahaha
Thanks, nice video! Could you do a demo with Typescript and seperating out dev / prod? Also would be good to mention volumes for mysql for data persistance.
Thanks Jeremy :) Might revisit this content with your suggestions!
Thanks guy you save me
geat video, thank you so much
Very great video 🤩🤩🔥
Thanks! :D
Gracias Pa!
Hi there - this might be a stupid question but I'm gonna ask ot anyway... How could you persist the data stored in the SQL DB?
Thx in advance - any reply is appreciated
It should persist in the docker db as long as you dont destroy the container :)
@@onthecodeagain that is true. And if someone wants to access that data, they can connect to the MySQL instance within the docker by either starting a shell in the docker, or going to port 3306 of the machine and using the userid and password for the db.
As far as I know, to deploy an Express -MySQL dockerized app to VPS the docker-compose bundle should contain Nginx or other server. In your video you have none of that. Why?
I don't think Nginx is needed because the Node is itself listening on a port. So any http request you send to that port, Node is able to receive it and pass it on to Express.
Why we don't need to open the ports for the database like ports:
-3306:3306 ?
Docker compose creates a network for us. So the port's are not being accessed from our localhost machine but from the two docker containers.
But when I dont specify the ports my nodejs has an connection error to the db
Having a similar issue
Thx :))))
Great video. I’m wondering if you can help me with a docker MySQL project. Do you have discord or email?