Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
MySQL Master Slave Replication on Two Servers using Docker Compose | Step by Step πŸš€ #mysql #docker
Play lesson

πŸš€ Docker Tutorial for Beginners | Master Containers & Modern DevOps 🌐🐳 - MySQL Master Slave Replication on Two Servers using Docker Compose | Step by Step πŸš€ #mysql #docker

5.0 (0)
10 learners

What you'll learn

This course includes

  • 5.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Below is a complete beginner-friendly, step-by-step guide to set up MySQL Master–Slave Replication using Docker Compose on TWO servers/nodes, with password protection enabled. I’ll explain everything from scratch, assuming you are new to MySQL, Docker, and replication. ## 🧩 What You Will Build βœ” MySQL Master on Server-1 βœ” MySQL Slave on Server-2 βœ” Docker + Docker Compose on both servers βœ” Secure password-based replication βœ” phpMyAdmin (optional but recommended) βœ” Replication tested & verified ## πŸ–₯ Server Details (Example) If your slave IP is different, replace it accordingly. +---------------------+--------------------+ | Role | IP Address | | ------------------- | ------------------ | | Master Server | 192.168.136.128 | | Slave Server | 192.168.136.129 | | MySQL Root Password | admin@123 | | Replication User | repl / admin@123 | | OS | Ubuntu 24.04 | +---------------------+--------------------+ ## 🧰 Prerequisites (Both Servers) * Ubuntu 24.04 * Root or sudo access * Internet connectivity * Ports open: * 3306 (MySQL) * 8080 (phpMyAdmin – optional) ## πŸ” Security Notes (Important) βœ” Password enabled βœ” Separate servers used ⚠️ For production: * Use firewall (UFW) * Enable SSL for replication * Avoid root remote login * Use backups -------------------------------------------------------------------- ######## ⚠️ Disclaimer / ΰ€…ΰ€Έΰ₯ΰ€΅ΰ₯€ΰ€•ΰ€°ΰ€£ ######## 1️⃣ All trademarks, logos, and names belong to their respective owners. 2️⃣ This video is made only for educational & informational purposes under Fair Use (Section 107, Copyright Act 1976). 3️⃣ No copyright infringement intended. 4️⃣ For any copyright concerns, email πŸ“© [email protected] β€” action will be taken promptly. ## 🌐 πŸ‘‡ Follow & Support: πŸŽ₯ YouTube: https://www.youtube.com/@ChiragMahtoOfficial πŸ“· Instagram: https://www.instagram.com/chirag_._mahto πŸ’Ό LinkedIn: https://linkedin.com/in/chittrmahto πŸ“˜ Facebook: https://www.facebook.com/chittrmahto πŸ’¬ WhatsApp Channel: https://whatsapp.com/channel/0029VbBgm16002T93KB16U12 πŸ’¬ Telegram Channel: https://t.me/+GAATbmOU4z1mMDY9 πŸ“˜ Note: Follow the process exactly as shown in the video. πŸ’Ύ DM me for paid PDF/Document β†’ πŸ“© [email protected] ✨ Share this tutorial with your friends & colleagues! πŸ’¬ Drop your questions in the YouTube comments β€” I’ll reply personally. πŸ”” Subscribe for FREE tutorial and Certification Tutorials! πŸ”₯ Don’t forget to πŸ’› LIKE, πŸ’˜ SHARE, πŸ’ COMMENT, & πŸ’™ SUBSCRIBE to @ChiragTutorial πŸ’― Thanks & Regards, πŸ’« Chitt Ranjan Mahto β€” β€œCHIRAG” πŸ’« 🌍 https://www.chirags.in #chiragtutorial #chirag #chittranjanmahto #chiragmahto #mysql #docker #dockercompose #mysqlreplication #masterslavereplication #dockerizedmysql #mysqlsetup #dockercontainers #database #devops #stepbystep

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere