Command-line tool
mysql-client
brew/mysql-client
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
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install mysql-client
Linux
brew install mysql-client
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
Open source relational database management system database sql mysql server oracle - 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) - percona-server
Drop-in MySQL replacement - 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…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents