← 返回命令列表

Linux command

rainfrog 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Connect to a PostgreSQL database

rainfrog --url postgres://[user]:[password]@[host]/[database]

Connect to a MySQL database

rainfrog --url mysql://[user]:[password]@[host]/[database]

Connect to a SQLite database

rainfrog --url sqlite://[path/to/db.sqlite]

Connect with a specific driver

rainfrog --url [connection_string] --driver [postgres]

说明

rainfrog is a lightweight, terminal-based database management tool designed as an alternative to pgAdmin and DBeaver. It features vim-like keybindings, a query editor with keyword highlighting, session history, favorites, and the ability to quickly copy data, filter tables, and switch between schemas. It supports PostgreSQL, MySQL, and SQLite.

参数

--url _CONNECTION_STRING_
Database connection string.
--driver _DRIVER_
Database driver to use (postgres, mysql, sqlite).
--username _USER_
Database username.
--password _PASS_
Database password.
--host _HOST_
Database host.
--port _PORT_
Database port.
--database _NAME_
Database name.

FAQ

What is the rainfrog command used for?

rainfrog is a lightweight, terminal-based database management tool designed as an alternative to pgAdmin and DBeaver. It features vim-like keybindings, a query editor with keyword highlighting, session history, favorites, and the ability to quickly copy data, filter tables, and switch between schemas. It supports PostgreSQL, MySQL, and SQLite.

How do I run a basic rainfrog example?

Run `rainfrog --url postgres://[user]:[password]@[host]/[database]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --url _CONNECTION_STRING_ do in rainfrog?

Database connection string.