Manual:GetReplicaServer.php/pl
Appearance
| Wersja MediaWiki: | ≥ 1.28 |
| Plik MediaWiki: getReplicaServer.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Klasy: | 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 | Optional |
| --cluster | Use an external cluster by name | Optional |
Usage
php maintenance/run.php getReplicaServer [ --group| --cluster ]
Terminal
$ php maintenance/run.php getReplicaServer replica1.serv.er
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.