npm · @bytebase/dbhub
$npx -y @bytebase/dbhub@1.5.0 DSN · secret — Database connection string (e.g., postgres://user:pass@host:5432/db)
DB_TYPE — Database type: postgres, mysql, mariadb, sqlserver, oracle, sqlite
DB_HOST — Database hostname
DB_PORT — Database port
DB_USER — Database username
DB_PASSWORD · secret — Database password
DB_NAME — Database name or SQLite file path
TRANSPORT — Transport mode: stdio or http
PORT — HTTP server port (default: 8080)
ID — Instance identifier for tool names
SSH_HOST — SSH server hostname
SSH_PORT — SSH server port (default: 22)
SSH_USER — SSH username
SSH_PASSWORD · secret — SSH password
SSH_KEY — Path to SSH private key
SSH_PASSPHRASE · secret — SSH key passphrase
SSH_AUTH_SOCK — Path to SSH agent socket