![]() Note: If you have previously installed the MySQL server using Homebrew, you may need to run the following command to link the MySQL client: brew link -overwrite mysql-client DMG Package To install the MySQL client, run the following command: brew install mysql-clientĪfter the installation is complete, you can verify that the MySQL client is installed by running the following command: mysql -version Once Homebrew is installed, run the following command to update the list of available packages: brew update If not installed, run the following command to install Homebrew first: /bin/bash -c "$(curl -fsSL )" If you aren’t sure if you have installed Homebrew already, open your terminal and run the following command to check. To install MySQL Shell using Homebrew, you need to install Homebrew on your Mac first. Mysql Ver 8.0.31 for macos13.0 on arm64 (Homebrew) Test ConnectionĪfter you install the MySQL client following the below instruction, you can test the connection to your MySQL server using mysql -h hostname -u username -p Install on Mac Homebrew If you see something like below, then MySQL client is already installed and you can stop reading now. You will have MySQL client installed as well. If you have installed MySQL server before, likely Before You Startīefore you start, you should confirm that you don't have MySQL client installed. Below describe how to install it on Mac, Ubuntu, Debian and Windows respectively. The official MySQL Client mysql, also known as MySQL CLI is a CLI to interact with your MySQL server. This article refers to the classic MySQL CLI, if you want to install the advanced MySQL Shell mysqlsh introduced in MySQL 8.0, check out How to install MySQL Shell on Your Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |