MemCP Console: Difference between revisions
Jump to navigation
Jump to search
Wikiservice (talk | contribs) (Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference) |
Wikiservice (talk | contribs) (Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference) |
||
| Line 5: | Line 5: | ||
The interactive Scheme console is enabled when MemCP starts without <code>--no-repl</code>: | The interactive Scheme console is enabled when MemCP starts without <code>--no-repl</code>: | ||
< | <pre> | ||
./memcp lib/main.scm | ./memcp lib/main.scm | ||
</ | </pre> | ||
Run an expression non-interactively with: | Run an expression non-interactively with: | ||
< | <pre> | ||
./memcp -c '(help)' lib/main.scm | ./memcp -c '(help)' lib/main.scm | ||
</ | </pre> | ||
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. | 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]]. | 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]]. | ||
Latest revision as of 12:14, 28 August 2026
MemCP Console
The interactive Scheme console is enabled when MemCP starts without --no-repl:
./memcp lib/main.scm
Run an expression non-interactively with:
./memcp -c '(help)' lib/main.scm
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.