Change Is Inevitable
  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)
Recent Posts
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation
Recent Comments
  • Kedar on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Jean-François Gagné on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Reggie on A Unique Foreign Key issue in MySQL 8.4
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
Home » replication monitor in php
Change Is Inevitable

Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects

  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)

Browsing Tag

replication monitor in php

1 post

Monitor multiple mysql replication using php: Updated

  • Kedar
  • November 11, 2009
Monitoring a replication is an important aspect. As replication includes multiple nodes, it is essential to track activity and status across all mysql servers involved in replication. To monitor replication…
View Post
MySQL Podcast (Youtube)
RSS feed: MySQL Podcast (Spotify) MySQL Podcast (Spotify)
  • MySQL Major Version Upgrade Checklist (Zero Downtime Strategy)
    Upgrading MySQL major versions in production is never just a version bump - it’s a carefully planned process involving compatibility checks, replication strategy, testing, and controlled cut-over.In this episode, we walk through a practical MySQL Major Version Upgrade Checklist based on real-world DBA workflows. We are covering MySQL replication as base setup for upgrade. It […]
Search:
... ...
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation

12 responses to “Monitor multiple mysql replication using php: Updated”

  1. Siddharth Avatar
    Siddharth
    March 31, 2016

    Hi Kedar,

    Emails were not sent, through script. Please help.

    Reply
  2. Mark Richards Avatar
    Mark Richards
    March 27, 2012

    Based upon your script, I have created a simple commandline utility that checks for properly running replication and re-synchronizes the slave to the master if there is an error.

    You can find it on GitHub:

    https://github.com/k1mgy/MySql-Replication-Utilities

    Reply
    1. Kedar Avatar
      Kedar
      May 16, 2012

      Thanks Mark for visiting and sharing.

      – Kedar.

      Reply
  3. Andrew Avatar
    Andrew
    February 8, 2012

    I can’t make typical replication Master-Slave (I dont have acces to external dbase conf files). How can I make a replication from the local mysql (winamp server) to outside mysql server only via (PHP?) script solution?

    Reply
    1. Kedar Avatar
      Kedar
      May 16, 2012

      🙂 not possible if you don’t have access to one of the server considering not every thing is preconfigured.

      – Kedar.

      Reply
  4. Galen Avatar
    Galen
    January 20, 2011

    Hey Kedar,

    This is awesome. I was going to write my own until I found yours! Thanks this is so great!

    The slave status is working fine using the replmon_conf.txt file but the detailed link isn’t working for me. I’m getting a can’t connect to server. Should I just put the login creds directly into the get_status function?

    Thanks again!!!

    Reply
    1. Michael Avatar
      Michael
      October 5, 2011

      Hi, same problem with the detailed link. Any solution?

      Reply
      1. Kedar Avatar
        Kedar
        October 6, 2011

        @Michael,

        Check updated mysql replication monitoring script at the end of the article. I hope this fixes our issue 🙂

        Reply
        1. Michael Avatar
          Michael
          October 6, 2011

          Thanks Kedar. Works perfectly.

          Reply
    2. Kedar Avatar
      Kedar
      October 6, 2011

      Galen,

      Took too long but seems like I’ve modified the script! let me know if you LIKE it 🙂

      Reply
  5. Kedar Avatar
    Kedar
    December 7, 2010

    Hey James,
    Check the update! I hope it will work for you.

    Reply
  6. James Avatar
    James
    December 6, 2010

    Great Script!

    do you know how I could include everything again in the same page to connect to another pair of servers?

    Reply
Change Is Inevitable
Designed & Developed by Code Supply Co.