database enabled community medium v1.0.0

mysql

MySQL client, can execute SQL queries and read files via LOAD DATA.

📋 Live Preview
mysql -e 'SELECT LOAD_FILE("/path/to/file")'
mysql -e 'SELECT LOAD_FILE("/path/to/file")'

Sandbox: execFile · Timeout: 60s

Capabilities

system.file.read
security.execution.command

Contract

Outputs

process.output

Query output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networknone
Disk I/Olow

Examples

Read a file via mysql

mysql -e 'SELECT LOAD_FILE("/path/to/file")'

Related Tools

psqlsqlite3

References