MySQL2 CLI is a simple command-line interface for connecting to MySQL, PostgreSQL, SQLite, and SQL Server databases. Version 1.1.7 provides a unified tool to interact with multiple database engines using connection strings. It supports MySQL, PostgreSQL, SQLite, and SQL Server, with plans for more. The tool is lightweight and designed for quick database exploration from the terminal.
npm install mysql2-cliNo compatibility data collected yet for this library.
Install the CLI globally and connect to a MySQL database using a connection string.
Ensure you install 'mysql2-cli' not 'mysql-cli'.
Run 'npm install -g mysql2-cli' and ensure npm global bin directory is in PATH.