How to Setup MariaDB (Master-Slave) Replication in CentOS/RHEL 7 and Debian 8

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. Aviram says:

    I have gone through so many guides, but this one is by far the best. Clear, concise and accurate.

    I will be implementing Zabbix/MariaDB in my production environment soon, planning on using pacemaker for Zabbix HA and master-slave replication for MariaDB. This will help immensely. Thank you so much!

  2. Tim says:

    Beautiful instructions. Worked like a charm on Ubuntu 14.04. Very simple and to the point. This is a rare commodity in Linux ‘How-To’s’
    Thank you VERY much!

  3. Yusuf Eka says:

    i have error when i start slave. the error is no query specified, what should i do?

  4. krx says:

    Hello,
    i have problem with replication. When i add bind-address MY_IP _ADDRESS then my web apps on mysql not work… but when bind-address is 127.0.0.1, then apps work but not work replication….

  5. Jagan says:

    This post is very helpful!
    Can you please make a post on how to take full and incremental backup on Maria DB?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?