Learn how to run MySQL using Docker and connect it with DataGrip for better database management.
In this video, I cover:
Running MySQL container using Docker
Setting up environment variables (root password, port)
Connecting MySQL with DataGrip
Testing database queries
Why use Docker?
No need to install MySQL locally
Easy setup and cleanup
Works consistently across environments
Commands used:
docker run --name mysql-container -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 -d mysql:latest
Connect using DataGrip:
Host: localhost
Port: 3306
User: root
Password: root
Subscribe for more practical dev tutorials 🚀
#docker #mysql #datagrip #backend #webdevelopment