Command-line tool
mysql
brew/mysql
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Open source relational database management system database sql mysql server oracle
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Oracle.MySQL -e scoop install mysql
macOS
brew install mysql
Linux
brew install mysql
Connect to a database
mysql database_name
Connect to a database, user will be prompted for a password
mysql -u user -p database_name
Connect to a database on another host
mysql -h database_host database_name
Browse
Related command-line tools
- mysql-client
Open source relational database management system - rsql
CLI for relational databases and common data file formats - rainfrog
Database management TUI for PostgreSQL/MySQL/SQLite - migrant
CLI Database migration management for postgres, sqlite, mysql - mysql-lts
The world's most popular open-source database (Long Term Support) - vitess
Database clustering system for horizontal scaling of MySQL - heidisql
See and edit data and structures from computers running one of the database systems MariaDB, MySQL, Microsoft SQL or… - DBeaver Community Edition
Universal database tool and SQL client database sql mysql postgresql mssql tool 数据库 oracle sqlite postgres 工具 db2
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents