Handbuch:getReplicaServer.php
Appearance
| MediaWiki Version: | ≥ 1.28 |
| MediaWiki-Datei: getReplicaServer.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.45.1 • 1.44. • 1.39.16 |
| 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 1.39.16 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.