MemCP Console: Difference between revisions
No edit summary |
Wikiservice (talk | contribs) (Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference) |
||
| Line 1: | Line 1: | ||
<!-- Copyright (C) 2026 Carl-Philip Haensch --> | |||
<!-- SPDX-License-Identifier: GPL-3.0-or-later --> | |||
= MemCP Console = | |||
The interactive Scheme console is enabled when MemCP starts without <code>--no-repl</code>: | |||
<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 <code>--no-repl</code>; 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]]. | |||
Revision as of 11:59, 28 August 2026
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.