Manual:getReplicaServer.php
MediaWiki version: | ≥ 1.28 |
MediaWiki file: getReplicaServer.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | GetReplicaServer |
Details
editgetReplicaServer.php is a maintenance script that reports the hostname of a replica database server.
Options
editOption | Description | Required |
---|---|---|
--group | Query group to check specifically | Optional |
--cluster | Use an external cluster by name | Optional |
Usage
editphp maintenance/getReplicaServer.php [ --group| --cluster ]
Terminal
$ php maintenance/getReplicaServer.php replica1.serv.er