0% found this document useful (0 votes)
2 views

Install_db_clients_on_mac_os

Install_db_clients_on_mac_os

Uploaded by

laserbeam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Install_db_clients_on_mac_os

Install_db_clients_on_mac_os

Uploaded by

laserbeam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

INSTALLATION OF DB

CLIENTS
on
MacOS
Document Ver. 0.01
Author : Avinash Kumar Behera
([email protected])
HOW TO INSTALL MYSQL CLIENT TO CONNECT TO REMOTE
MYSQL HOST FROM LOCAL.
1. Install Homebrew if you haven't already: /usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Run brew install mysql to install the MySQL client.

*Adjust version to check backward compatibility


Eg: mysql -u username -h remote_host_ip –P port –p
mysql -u avinashb -h 10.10.10.10 -P 3306 –p

HOW TO INSTALL MONGODB CLIENT TO CONNECT TO REMOTE


MONGODB HOST FROM LOCAL.
1. Install Homebrew if you haven't already: /usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Run brew tap mongodb/brew
brew update
brew install mongodb-community

*Adjust version to check backward compatibility


Eg. mongosh "mongodb://remote_host_ip:27017”
Mongosh “mongodb://10.10.10.10:27017”

HOW TO INSTALL REDIS CLIENT TO CONNECT TO REMOTE REDIS


HOST FROM LOCAL.
3. Install Homebrew if you haven't already: /usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
4. Run brew install redisto install the redis client.

*Adjust version to check backward compatibility


Eg: redis-cli -h <hostname|ip> -p <port>
redis-cli -h 10.10.10.10 -p 6379

NOTE: Please feel free to install any client that suits you best. However, refrain from
requesting server access or asking others to retrieve data from the databases on your
behalf, unless it's strictly necessary for production data. For anything related to
production data and databases, all requests should go through a JIRA ticket.

You might also like