mysql -h remote-host.com -u admin -p my_database
The command line client is rarely a standalone download; instead, it is bundled within the broader MySQL package. Official MySQL Installer (Windows) MySQL Community Downloads page Select the MySQL Installer for Windows During installation, choose the setup type. Under "Select Products and Features," expand MySQL Servers Applications mysql 5.7 command line client download
To download the MySQL 5.7 command line client, follow these steps: mysql -h remote-host
On Linux, you typically install the client separately from the server. follow these steps: On Linux