数据库工具下载,-数据库工具:LazySQL、sql-tap、Tabularis、rsql、DbPaw - -- &#34

📅 2026-12-01 👤 拼多多助力营销技巧 📂 拼多多助力2026 👁️ 421 次阅读

LazySQL

官网,开源(GitHub,3.7K Star,163 Fork)跨平台的终端用户界面(TUI)SQL客户端。核心理念是:将数据库管理的强大功能,全部封装在终端环境里,无需离开键盘,就能完成所有操作。

核心功能

全键盘操作,Vim键位原生支持:从导航、编辑到执行命令,全程键盘流操作。如果你是Vim用户,上手即巅峰,毫无学习成本。多数据库支持:一站式管理MySQL、PG、SQLite、SQL Server等主流数据库,连接配置文件化管理,一键切换。强大的内置编辑器:直接在TUI里编写、格式化、高亮显示SQL语句,支持多语句执行和历史记录查询。直观的数据表管理:不仅限于查询,可在终端里直接以表格形式浏览数据,并进行增、删、改操作,所见即所得。灵活的连接方式:除标准连接,还支持通过SSH隧道、自定义命令等方式连接数据库,适应各种复杂的网络环境。极简部署:提供多种安装方式,从一行Homebrew命令到直接下载二进制文件,开箱即用。

实战

GitHub Release页面下载安装包:

brew install lazysql

go install github.com/dolthub/lazysql@latest

config.yml配置文件示例:

sql-tap

基于Go开发的开源(GitHub,1.4K Star,43 Fork)实时SQL流量监控工具,无需修改代码即可使用。它作为代理部署在应用与数据库之间,通过解析数据库wire协议捕获所有查询,提供TUI和Web两种使用方式,支持PG、MySQL和TiDB数据库。

Tabularis

官网,基于Tauri+Rust+React架构,开源(GitHub,940 Star,63 Fork)跨平台、轻量级、现代化数据库管理工具。官方文档。

功能特性

rsql

基于Rust语言、开源(GitHub,422 Star,15 Fork)跨平台、功能丰富的SQL命令行客户端(CLI),可为多种关系型数据库、本地文件、云数据服务提供统一的SQL查询接口。官方文档

功能特性

丰富的数据源:支持数据库(ClickHouse、CockroachDB、CrateDB、DuckDB、DynamoDB、LibSQL/Turso、MySQL、MariaDB、PG、Redshift、Snowflake、SQL Server、SQLite)、文件(Arrow、Avro、CSV/TSV、Excel、JSON/JSONL、ODS、ORC、Parquet、XML、YAML)以及远程数据服务(FlightSQL、HTTP/HTTPS、S3),提供统一SQL接口。自动解压功能:可自动处理压缩文件(Gzip、Brotli、Bzip2、LZ4、XZ、Zstd等)。交互式体验:提供语法高亮、自动补全、历史命令记录等功能,支持emacs、vi风格快捷键;也可以直接运行SQL脚本。多种输出格式:查询结果的输出格式,包括ascii、csv、expanded、html、json、jsonl、markdown、plain、psql、sqlite、tsv、unicode、xml、yaml。内置数据库:内置嵌入式PG(运行时下载并安装PG,并且以独立进程的形式启动),用于快速执行SQL。多语言支持:40+种语言,包括中文。

实战

支持多种安装方式

GitHub Release二进制

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/theseus-rs/rsql/releases/latest/download/rsql_cli-installer.sh | sh

使用

rsql --help

.bail on|off Stop after an error occurs

.catalogs List the catalogs in the database 拼多多帮助力入口

.changes on|off Show number of rows changed

.clear Clear the screen

.color on|off Enable or disable color output

.completions on|off Enable or disable smarter completions

.describe [table] Describe a table in the schema

.drivers Display available database drivers

.echo on|prompt|off Enable or disable echoing commands

.exit [code] Exit the application

.footer on|off Enable or disable result footer

.foreign [table] Display the foreign keys

.format [format] Set the output format for the results

.header on|off Enable or disable result header

.help Show this help message

.history on|off Show the command history

.indexes [table] Display the indexes

.limit [limit] Set the maximum number of results to return

.locale [locale] Set the display locale

.output clipboard|Output contents to the system clipboard,or the console

.primary [table] Display the primary keys

.print [string] Print the specified string

.quit Quit the application

.read [file] Read a SQL file and execute it

.rows on|off Show number of rows returned

.schemas List the schemas in the catalog

.sleep [seconds] Sleep for a specified number of seconds

.system command [args] Run command in a system shell

.tables List the tables in the schema

.tee clipboard|Output contents to the system clipboard or a, and the console

.timer on|off Enable or disable query execution timer

# 连接数据库

rsql --url "postgresql://user:pass@localhost/mydb"

# 查询CSV文件

rsql --url "csv://data.csv"

# 使用DuckDB内存数据库

rsql --url "duckdb://"

# 查询SQLite文件

rsql --url "sqlite://database.db" -- "SELECT * FROM users LIMIT 10"

# 查询Excel文件

rsql --url "excel://report.xlsx" -- "SELECT * FROM table WHERE amount > 1000"

# 查询Parquet文件

rsql --url "parquet://data.parquet" -- "SELECT column1, COUNT(*) FROM table GROUP BY column1"

# CSV转化为JSON文件

rsql --url "csv://input.csv" --format json -- "SELECT * FROM input"

# 查询压缩文件

rsql --url "csv://data.csv.gz" -- "SELECT column1, column2 FROM data"

# 组合查询多种格式

rsql --url "duckdb://" -- "

SELECT * FROM read_csv_auto('file1.csv')

UNION ALL

SELECT * FROM read_parquet('file2.parquet')

"

DbPaw

官网,基于现代化技术栈构建、开源(GitHub,80 Star,9 Fork)跨平台的数据库开发工具,支持可选的AI助手。基于Rust+TypeScript+Tauri框架构建。

功能特性

数据库:支持MySQL、MariaDB、PG、ClickHouse、TiDB、DuckDB、SQL Server和SQLite,可通过SSL或SSH隧道访问远程数据库。SQL编辑器:提供语法高亮、自动补全、一键格式化等辅助功能,支持查询保存并且复用常用SQL脚本。数据网格:在数据网格中浏览结果,支持过滤、排序、分页以及新增、修改、删除数据;可显示表结构信息和DDL语句。数据导出:可将表或者查询结果中的数据导出为CSV、JSON、SQL文件。AI助手:提供LLM配置(OpenAI、Gemini、Anthropic、DeepSeek、Qwen等),支持SQL辅助编写、查询归纳、表结构解释和慢查询优化等功能。轻量级:程序安装包大小10MB左右,磁盘占用大约80MB,启动速度极快,内存占用极低。定制化:支持不同语言、主题、字体、快捷键等自定义设置。

标签: 拼多多助力网站平台 赚钱项目 拼多多助力网 首码项目 手赚APP
拼多多助力营销技巧