HelPHP

check_replica.php

Table of Contents

Functions

check_replication()  : string
The check replica utils is checking is the master slave replication is still operationnal.

Functions

check_replication()

The check replica utils is checking is the master slave replication is still operationnal.

check_replication(mixed $target) : string

the user used for connection must have "SUPER" or "SLAVE MONITOR" privilege can be called from cli with instance path as argument: php helphp/utils/check_replica.php instance_home_path

Parameters
$target : mixed

the home path of the instance to get db config

Return values
string

echoing results


        
On this page

Search results