MemCP Console

From MemCP
Revision as of 11:59, 28 August 2026 by Wikiservice (talk | contribs) (Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference)
Jump to navigation Jump to search

MemCP Console

The interactive Scheme console is enabled when MemCP starts without --no-repl:

<syntaxhighlight lang="bash"> ./memcp lib/main.scm </syntaxhighlight>

Run an expression non-interactively with:

<syntaxhighlight lang="bash"> ./memcp -c '(help)' lib/main.scm </syntaxhighlight>

Background and service deployments must use --no-repl; otherwise closing standard input ends the REPL and may stop the process. Capture stdout/stderr through the service manager and use the dashboard, processlist, and configured logs for operations.

Authorized MySQL sessions may expose an administrative Scheme parser mode when that capability is intentionally enabled. Scheme execution has direct process and storage access and must not be offered to untrusted database users. See Introduction to Scheme, Security and Authentication, and Dashboard and Operations.