Sqlplus For Mac

  1. Sqlplus Mac Os X
  2. Sqlplus Mac Os Client
  3. Sql Plus For Mac
  4. Sqlplus Macbook

SQLplus is a command line utility to manage Oracle Database. It is a powerful tool that all Oracle database administrator must have. In this tutorial, I am going to install the SQLplus Utility 9.5 in Windows 10. The new version of sqlplus 19.5 is available alongside the new Oracle Database 19c. On the previous article, I have shown how to install Oracle Database 19c on CentOS 8.

Once the connection is made between the client and the server using sqlplus, we can perform many database administration, query, user management and so on.

Steps to Install SQLplus on Windows 10

Sql plus for macbook

Step 1. Install Oracle Instant Client

Before we can install and run the sqlplus utility, we need to configure the Oracle Instant Client Utility first. So, I would suggest you to read this article to Install Oracle Instant Client 19.5 on Windows 10.

Step 2. Download SQLplus software package

Once you’ve setup the instant client correctly, now we need to download the sqlplus package from the following link

The database administrator can also remove the SQL.Plus command-line help tables by running a SQL script from SQL.Plus. Before you can install or remove SQL.Plus help, ensure that: SQL.Plus is installed. The ORACLEHOME environment variable is set. The SQL.Plus help script files exist: HLPBLD.SQL - to drop and create new help tables. Developer Downloads. All software downloads are free, and most come with a Developer License that allows you to use full versions of the products at no charge while developing and prototyping your applications, or for strictly self-educational purposes. (Unless otherwise specified, our technical support organization will not provide technical support, phone support, or updates to you for the.

So this is the sqlplus software package for Windows 10 64 bit edition.

Step 3. Install the Package

Sqlplus For Mac

From the previous step, you should have a zip file called : instantclient-sqlplus-windows.zip. Now extract the file to your instant client directory you created on the Step 1. Here is the screenshot of my instant client folder looks like:

Notice that there is sqlplus application in this instant client folder. Now we are ready to go.

How to Connect to Oracle Database via SQLplus Command

In the following example, I will show you how to connect to remote oracle database via sqlplus command. Before we connect, we need to configure the user in the Oracle database. Skip the user creating step if you already have a database user that can connect to the pluggable database.

Create a new user

In the database server host, we need to connect to the database using sqlplus in order to create a new user for the pluggable database. In this case, my container database called cdb1 and the pluggable database is called pdb1.

Login as oracle user and then execute this command.

Now let’s show the current database we connected

As you can see now we are connected to the root database. We need to switch to the pluggable database (pdb1).

Now check again using show command

As you can see, now we are connected to PDB1, the pluggable database. Next, we need to open the database so we can create a new user for it.

Then, we can create a new user

Sqlplus Mac Os X

The command will create a new user called “manjaro” and password “thePassword”. After that, we need to grant “CONNECT” privileges to manjaro user so user can connect to the database. You can also add multiple roles to the new users. For example:

Done. Please note that this new user only exist in the pluggable database. So, to connect, we need to specify the username as [email protected] in the Connect command.

Sqlplus Mac Os Client

Connect to the Database

Ok, so now we have a new user setup in the pdb1 database. Let’s try to connect to the database.

Open a Mac app from an unidentified developer. If you try to open an app that isn’t registered with Apple by an identified developer, you get a warning dialog. This doesn’t necessarily mean that something’s wrong with the app. For example, some apps were written before developer ID registration began. Mac

From the other computer (in this case Windows 10 where sqlplus is installed using above steps), open command prompt and execute the following command:



Sql Plus For Mac

  • is the Oracle database host IP address
  • pdb1.griyaku.lan is the Oracle database service

Sqlplus Macbook

You can check your Oracle database services and instances with the following command. Make sure you execute this command on the database host as oracle user.


Thank you for reading this how to install sqlplus 19.5 on Windows 10. I hope you enjoy it and leave us comments for any queries. Cheers.

Comments are closed.