Jump to content

Manual:mcc.php

From mediawiki.org

Details

[edit]

mcc.php file is a maintenance script that works as a memcached diagnostic tool.

MemCached Command (mcc) is an interactive command tool that lets you interact with the MediaWiki memcached cache.

List of commands

[edit]

These interactive commands are available in mcc.php:

Command Description
get grabs something
getsock lists sockets
set changes something
delete deletes something
history show command line history
server show current memcached server
dumpmcc shows the whole thing
exit exit mcc
quit exit mcc
help help about a command

Usage

[edit]
php maintenance/run.php mcc
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Common error

[edit]
Bad command

This error occurs when an invalid command is given. See the list of valid commands.

See also

[edit]