MySQL is a widely used open-source relational database system known for its performance and scalability. While MySQL is frequently deployed on Linux systems, many users also need to install the MySQL client on Windows to manage remote databases. This client provides the essential command-line tools required for interacting with MySQL servers, making it a convenient solution for administrators and developers.
Installing the MySQL client on Windows allows users to execute SQL queries and manage databases without the need to install the entire MySQL server. This is particularly useful for those who only require the ability to connect to and manage remote databases. The installation process is straightforward, ensuring quick setup on Windows environments.
This guide outlines the steps to download, install, and configure the MySQL client on Windows. Whether you're looking to install the MySQL client for Windows for development, testing, or administration, these instructions will help you get started efficiently.
Steps to install MySQL client on Windows:
- Go to the official MySQL download page.
- Select MySQL Installer for Windows.
- Download the installer file.
- Run the installer.
- Choose the “Custom” installation option.
- In the list of components, select “MySQL Client”.
- Proceed with the installation.
- After installation, open the MySQL client from the Start Menu.
- Connect to a remote MySQL server.
$ mysql -h 192.168.1.15 -u db_admin -p
When prompted, enter the password associated with the specified username.
Enter password: ********** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 8.0.27 MySQL Community Server - GPL
- After connecting, you can start executing SQL queries to manage the databases.

Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.
Comment anonymously. Login not required.