Background
In one of the previous posts we say how to install and run sql plus and Oracle instant client on Ubuntu operating system -
In this post we will see the same for a Mac.This post expects you have homebrew installed. If not please refer -
Install Oracle instant client and sqlplus using Homebrew
For this you need to download following two files -
- instantclient-basic-macos.x64-12.1.0.2.0.zip
- instantclient-sqlplus-macos.x64-12.1.0.2.0.zip
Once download copy these files into following folder-
- ~/Library/Caches/Homebrew
Once done run following commands -
- brew tap InstantClientTap/instantclient
- brew install instantclient-basic
- brew install instantclient-sqlplus
This should install sqlplus for you.
Username/password to connect to your database. You should have configured it when setting up the DB.
ReplyDeleteORACLE is not compatiable with mac os ...how to configure oracle set up..plz rovide necessary steps too
ReplyDeleteORACLE is not compatiable with mac os.. plz provide the necessary steps..i have tried this on my mac but its nt working..
ReplyDeleteHi Maduri,
DeleteWhat do you mean not compatible? Are you talking about Oracle database or the client? Can you share the issue that you are facing? Thanks.
There was no configuration during the setup. And thus, we need a default username/password to login as the root user.
ReplyDeleteHmm I keep seeing this error: ➜ ~ sqlplus
ReplyDeleteError 6 initializing SQL*Plus
SP2-0667: Message file sp1.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
➜ ~
How do I do the steps if the current version is 18 and I need 12?
ReplyDeleteWhat is the default user and password to log in sqlplus
ReplyDeleteplease provide the default user and pwd
ReplyDelete