MySQL CLI tool designed for AI Agents, version 1.0.0. All commands output JSON for programmatic consumption. Each command opens a separate connection and closes immediately. Supports three connection methods: command-line flags, DSN string, and saved profiles via config file. Provides safety features requiring --force for destructive operations. Ideal for AI agents needing simple, repeatable MySQL access with predictable output.
npm install agent-mysqlNo compatibility data collected yet for this library.
Show how to run a query with full connection parameters each time.
Use `--dsn` with a DSN string or config set to store password in config file.
Add .agent-mysql/config.json to .gitignore or use environment variables instead of config.
Specify --limit 0 or a higher number to get all rows.
Run `npm install -g agent-mysql`
Verify password and ensure user has access from the connecting host.
Add `--force` flag: `agent-mysql -h ... query "DROP TABLE users" --force`
No dependency data recorded yet.