usql
xo/usql
A universal command-line tool that lets you connect and manage multiple databases with one set of commands, saying goodbye to switching between different database clients.
Universal command-line interface for SQL databases
AI Summary
What This Project Does
It is an all-in-one database CLI client, similar to PostgreSQL's psql, but capable of connecting to MySQL, Oracle, SQL Server, and more.
What Problems It Solves
Solves the problem of needing to install multiple database management tools. Previously, you needed a MySQL client for MySQL and psql for PG; now usql handles it all.
Who It's For
Backend developers, DBAs, ops personnel, or techies who frequently operate across databases.
Typical Use Cases
1. Quickly connect to test databases.
2. Export data from MySQL and import directly into PostgreSQL.
3. Query database status directly in the server terminal.
Key Strengths & Highlights
Supports syntax highlighting and auto-completion, offers a psql-like experience, supports data copying between databases, and is simple to install without complex config.
Getting Started Requirements
Requires basic CLI knowledge, no programming needed, just configure connection info after installation to use.
Purpose
Suitable for scenarios requiring frequent database switching or limited server environments, not suitable for complex GUI or deep database visualization needs.
Category
Tech Stack
Project Info
- Primary Language
- Go
- Default Branch
- main
- License
- MIT
- Homepage
- —
- Created
- Mar 2, 2017
- Last Commit
- 7 days ago
- Last Push
- 7 days ago
- Indexed
- Apr 21, 2026