usql is a command-line database client that gives administrators and developers a single, consistent interface for working with many different database systems.
Inspired by PostgreSQL’s psql, it brings familiar interactive commands and shell-style workflows to PostgreSQL, MySQL, Oracle Database, SQLite3, Microsoft SQL Server, and many other databases, making it a practical replacement for vendor-specific command-line tools in mixed environments.
This is free and open source software.
Key Features
- Works with a wide range of SQL databases and can also be used with many NoSQL and non-relational databases through compatible drivers.
- Provides a psql-style interactive shell with support for variables, backticks, and backslash commands.
- Supports copying data between databases with its own
\copycommand. - Offers syntax highlighting, context-based completion, and terminal graphics for a more capable interactive experience.
- Supports YAML configuration files for named connections and runtime settings.
Website: github.com/xo/usql
Support:
Developer: xo
License: MIT License

usql is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| MySQL Tools | |
|---|---|
| DBeaver | Universal database tool |
| phpMyAdmin | MySQL web administration tool |
| NocoDB | Build databases as spreadsheets |
| MySQL Workbench | Complete visual database design tool |
| mycli | Command line interface for MySQL, MariaDB, and Percona |
| gh-ost | GitHub's Online Schema Migrations for MySQL |
| Beekeeper Studio | Cross-platform SQL editor and database manager |
| DbGate | Database manager for MySQL, PostgreSQL, MongoDB |
| Percona Toolkit | Essential command-line utilities for MySQL |
| SQuirreL SQL Client | Graphical SQL client written in Java |
| Adminer | Full-featured tool for managing content in MySQL database |
| dblab | Interactive client for PostgreSQL, MySQL, SQLite3, and more |
| Antares | SQL client based on Electron.js and Vue.js |
| XtraBackup | Backup utility for MySQL |
| innotop | Real-time, advanced investigation tool |
| SQLCheck | Detects common SQL anti-patterns |
| OmniDB | Collaborative environment For database management |
| Sequeler | Native Linux SQL client built in Vala and Gtk |
| orchestrator | High availability and replication management tool |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

