How to connect python and MySQL using Docker Compose

Random code
Random code
29.1 هزار بار بازدید - 2 سال پیش - I share how we can
I share how we can run two docker containers using docker-compose, a container with MySQL and another running a python script which connects to the MySQL database and returns some values.

Docker-compose + python: How to run MySQL in a Docker containe...
Docker + MySQL: How to run MySQL in a Docker containe...

Files: https://gist.github.com/Da9el00/4e33e...

My channel publishes programming and software engineering videos, especially Java and Python. If that is what you are looking for, do not hesitate to join me on this journey!

Subscribe to my YouTube channel:
@randomcode_0
2 سال پیش در تاریخ 1401/03/18 منتشر شده است.
29,155 بـار بازدید شده
... بیشتر