Handbuch:getReplicaServer.php
Appearance
| MediaWiki Version: | ≥ 1.28 |
| MediaWiki-Datei: getReplicaServer.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Klassen: | GetReplicaServer |
Details
getReplicaServer.php is a maintenance script that reports the hostname of a replica database server.
Optionen
| Option | Beschreibung | Notwendig |
|---|---|---|
| --group | Query group to check specifically | Optional |
| --cluster | Use an external cluster by name | Optional |
Verwendung
php maintenance/run.php getReplicaServer [ --group| --cluster ]
Terminal
$ php maintenance/run.php getReplicaServer replica1.serv.er
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.