How to Install MySQL Database on Docker and Connect to a MySQL Database Using DBeaver

Опубликовано: 15 Май 2026
на канале: Think Like an Engineer
670
11

Learn how to install a MySQL database using Docker and connect to it with DBeaver.

In this beginner-friendly tutorial, we’ll guide you through:
✅ Setting up MySQL on Docker
✅ Understanding the container configuration
✅ Connecting to the database using DBeaver
✅ Solving common connection errors (like allowPublicKeyRetrieval=true)
✅ Creating your first MySQL database

Chapters
00:00 Introduction
00:33 Install MySQL on Docker
01:53 Connect to a MySQL Database
03:37 Create a Database in MySQL

Useful Links:
📌 Docker Desktop Installation Guide: https://www.docker.com
📌 DBeaver Installation Guide: https://dbeaver.io/download/
📌 MySQL Docker Hub: https://hub.docker.com/_/mysql

Releated Videos:
📌   • Install Docker on Mac & RDBMS on Docker | ...  
📌   • How to Install DBeaver on Mac and Connect ...  

Docker Command Used in This Video
🔹 docker run -d --name my-mysql -e MYSQL_ROOT_PASSWORD=Password1 -p 3306:3306 -v mysql-data:/var/lib/mysql mysql:latest --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci


💡 Whether you're learning backend development or setting up your local dev environment, this tutorial will get your MySQL database up and running in no time!
👍 Like this video if you found it helpful
💬 Drop a comment if you have any questions
🔔 Subscribe for more development tutorials

#MySQL #Docker #DBeaver #MySQLDocker #DatabaseSetup #MySQLTutorial #DockerMySQL #BackendDevelopment #DevOps #DatabaseConnection #MySQLOnDocker #DBeaverTutorial #DockerTutorial #MySQLBeginners