Manual:Mcc.php

Category:MediaWiki code#Mcc.php

Details

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

These interactive commands are available in mcc.php:

CommandDescription
getgrabs something
getsocklists sockets
setchanges something
deletedeletes something
historyshow command line history
servershow current memcached server
dumpmccshows the whole thing
exitexit mcc
quitexit mcc
helphelp about a command

Usage

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

Common error

Bad command

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

See also

Category:Maintenance scripts#mcc.php Category:Development maintenance scripts
Category:Development maintenance scripts Category:Maintenance scripts Category:MediaWiki code Category:MediaWiki code pages without class names