From 3cd1778858088bfe02bbf9e070eae6d4953f41c6 Mon Sep 17 00:00:00 2001 From: Jags Ramnarayan Date: Mon, 14 Oct 2024 20:19:44 -0700 Subject: [PATCH] Fixes to Connect using MariaDB CLI, docs for CLI install on macos. --- .../Connect using MariaDB CLI.md | 22 ++++++++++++++++++- docs/Connecting to Sky DBs/README.md | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/Connecting to Sky DBs/Connect using MariaDB CLI.md b/docs/Connecting to Sky DBs/Connect using MariaDB CLI.md index 65062e28..ddfd28cf 100644 --- a/docs/Connecting to Sky DBs/Connect using MariaDB CLI.md +++ b/docs/Connecting to Sky DBs/Connect using MariaDB CLI.md @@ -1,10 +1,30 @@ -MariaDB Client is available for Linux and Windows +MariaDB Client is available for all major operating systems. ## 1. Installation Installation of MariaDB Client varies by operating system. +### MacOS + +1. Install Homebrew if you don't have it already: + + ```bash + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + ``` + +2. Install MariaDB Client: + + ```bash + brew install mariadb + ``` + +3. Verify the installation: + + ```bash + mariadb --version + ``` + ### CentOS / RHEL 1. Configure YUM package repositories: diff --git a/docs/Connecting to Sky DBs/README.md b/docs/Connecting to Sky DBs/README.md index e02ee2af..28105ad2 100644 --- a/docs/Connecting to Sky DBs/README.md +++ b/docs/Connecting to Sky DBs/README.md @@ -38,7 +38,7 @@ Connection parameters include: ### Install and Connect using the MariaDB client -After [installing the MariaDB client](https://mariadb.com/docs/server/connect/clients/mariadb-client/) according to your operating system, simply copy/paste the MariaDB CLI command as displayed in the Connect window. +After [installing the MariaDB client](./Connect%20using%20MariaDB%20CLI.md) according to your operating system, simply copy/paste the MariaDB CLI command as displayed in the Connect window. ## Connecting from your Application