Manual:getReplicaServer.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.28
<translate> MediaWiki version:</translate> |
MediaWiki file: getReplicaServer.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | GetReplicaServer |
Details
getReplicaServer.php is a maintenance script that reports the hostname of a replica database server.
Options
Option | Description | Required |
---|---|---|
--group | Query group to check specifically | <translate> Optional</translate> |
--cluster | Use an external cluster by name | <translate> Optional</translate> |
Usage
php maintenance/getReplicaServer.php [ --group| --cluster ]
Terminal
$ php maintenance/getReplicaServer.php replica1.serv.er