vi-sql
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/vi-sql/
A terminal SQL client with Vim controls and schema tools.
Script Preview
Review this script before executing in your terminal.

vi-sql is a terminal-based database client for browsing schemas, editing rows and running SQL across several database engines.
The multi-tab editor provides highlighting, autocomplete, history and external editor support. It has a familiar stacked-based view with the table view showing the SQL editor with the result panel at the bottom of the executed SQL result. It can also can sort data, follows foreign keys and shows EXPLAIN cost and timing details.
This tool is optimal for native vim key-bindings for navigation throughout the TUI. It can import and export results directly and has auto-suggestions for syntax completion and supports encrypted connections with MCP server support.
For database developers, data scientists and analysts or operators, vi-sql is very useful for interacting with local or remote relational databases without the need for a full graphical application, or on systems that lack a screen.