How to Install Oracle 21C DB Express Edition (XE) on Windows | Connect via SQL Plus or SQL developer
Join FREE Databricks ETL Test Automation Demo
π Thursday, 15 October | β° 8:00 PM IST
π Register Here: https://forms.gle/yNPdiPYVyL9ZA7L69
Playlists for your reference:
ETL Testing Tutorial for begginers and advanced level :
https://www.youtube.com/playlist?list=PLz5n9ljUmyOyUuD9RhtqX0moDAZIaQxVj
SQL Tutorial for begginers and advanced level :
https://www.youtube.com/playlist?list=PLz5n9ljUmyOx7rlTVWQvhWqZ4giecLOqT
Linux Tutorial for beginners and advanced level:
https://www.youtube.com/playlist?list=PLz5n9ljUmyOyqdouKrzj_RpRsiALUN6Tn
Data Warehousing Tutorial for beginners and advanced level:
https://www.youtube.com/playlist?list=PLz5n9ljUmyOz53-xM0NMWV4aDp1SGFvG6
Hey Guys,
If youβre enjoying this video and youβd like to support this channel, please do to consider subscribe this channel! It might seem small, but hitting that subscribe button helps alot and means more contents in future.
Closed Caption:
Hey guys, hope you all are doing great
and uh today we are going to take a look
at how to install Oracle Express Edition
uh so that we can practice how to work
on Oracle database. Yeah. So what we
will do we will go to Google and just
type Oracle Express Edition download.
Yeah the and then search it. The first
link that you will get Oracle database
access edition download. Just click on
this link and then you will see at the
left hand side there are uh downloads
available in the left hand side. Right?
So you have to go and choose
appropriately for based on your machine.
Right? So there are uh so for my machine
I have Windows. So I'll go and choose
for Windows 64. I'll just click on this
and it will download the installer
basically. Yeah. So uh let me show you.
I think it already have started
downloading. Yeah, it's already
downloading it. And um just allow a
moment. Once this is done, we will unzip
this particular file and uh start
installing on it. Yeah.
So just a second. Just allow me a
moment. Yeah. And uh then we will
take a look at it.
All right. So, the download is completed
here, guys. You can see it here. And
what I'm going to do, I'm going to just
extract it, right? Because I'm just
going to um extract it. Getting the
unjipped one, right? So, if I go here,
uh I will go to extract all and then
I'll just say extract. Yeah. Okay. So
just um extract it so that we can
basically go and install that installer.
So allow some time. I think you're just
going to unzip it.
All right. So we are able to extract it.
Now let's go inside the folder. And we
can see something called application,
right? Setup application. And uh there
are couple of more. So it is basically
uh 21 C Express edition. I already have
on this machine 11g guys right so it
doesn't matter uh you can have uh
different different versions of your
Oracle but uh let's see I mean it it
need to run on a port generally it runs
on 1521 that is a port for Oracle so in
this case the port number might change
if you already have it but maybe if you
don't have any version then it's it's
all good there is nothing to worry about
it let us go and click on the setup
basically and we will just follow click
click next right nothing much to do
about it so let's just um go step by
step you see that it started preparing
installation right uh it will take some
time uh so now it is calculating the
system requirement right it is saying
you have chosen to remove the Oracle X3
from you have chosen to remove yeah um
one second all right I think It may be
because I already have the 11g right. Uh
but I'm not getting any other option I
think here. So
let's say remove.
All right. Let let's proceed with this.
Um
uh I'm just trying to install it very
first time on my machine. I'm not sure
whether it has installed it or it is
talking about Okay, I think it's talking
about uninstalling 21c Express Edition.
Um I I don't think so I have it but if
it is then it just trying to uninstall
it. Yeah, just just give some moment.
So you can see it's taking some time to
uh uninstalled and uninstalling the
previous
uh installation, right? So it takes some
time generally. So you can just pause
the video and um then yeah I'm also
pausing my video. So let's see once that
is done and we will actually proceed
with the next step. All right. So it has
removed the 21c. I'm not sure when it
was installed on my machine but yeah it
has removed it. Now let's say finish.
The moment I say finish,
it's
it's basically uh should
come up with reinstallation. Just a
second. All right, guys. Let's see. I
think it did not come back. Let me see.
Uh I think it was trying to um you know
uh remove the previous version of Oracle
Basically Express Edition. Let's try to
reinstall again. Let's see what happens.
Right. So if I go here and try to
because I'm trying to connect the
previous version, I'm not able to
connect. Yeah, let me just minimize this
as well. So if I go here, it is saying
preparing to connect. Okay, this time it
is saying that okay, we can actually go
and install. Let's say next. Okay, so
here we have to say accept the terms and
condition. Yeah, let's go to next. Uh
and then it is saying that okay, this is
the location where it will be installed
in the C drive. So if I say next, it is
asking me the database password guys.
Okay. So I'll just put admin for the
password again. Admin for the password.
Next.
And then say install. I hope that if you
uh don't have any previous version
installed, I think it should be very
straightforward. Once you unzip it and
click on the setup, this is what you
expect. Basically, it should just you
just need to go next, next, next. I
think that's it, right? And then you
have to just give the user ID. Let's
wait. Yeah. Uh I think it will take some
time because uh it took a lot of time
for uninstallation as well. So it should
take some reasonably good amount of time
to install as well. Yeah. So let's wait
for that. So guys, it's still taking
time. Yeah. Uh and there is also
configuration which has started on the
side as well. You can see here, right?
So you might see that configuration is
also happening uh on the different
window but uh just um
see the progress of it and then we will
basically proceed right. So just uh uh
process right so uh let's wait for some
more time and uh we'll come back once
this part is completed. Yeah. All right.
Good. uh you see that it's uh Oracle
database installed successfully and you
can see that successfully installed
database 21c express edition right now
[clears throat]
before I click on finish I have to just
save this particular detail with me
because it might be needed for me to uh
get the connection do you see that
multi-tenant container database
localhost 1521
and uh this is a pluggable database
local host this these are the details
details that we might need it. Yeah. So
let us do one thing. Let us save this
particular details. Okay. Uh all this
page I'll take a screenshot. Yeah. And
um
I'll take snipping.
I'll just save it.
All right.
Okay.
Good. We have it. I will just save it
with me.
I'll say Oracle
DB credential
just for my own reference in future.
Yeah. Okay. So, let's go uh and say that
finish. Okay.
There's a finish. It is already done.
All right. Now what we are going to do
is we are going to uh see that we can
actually connect to data base now. So if
I say SQL
plus do we have it SQL plus here? Just
go to SQL plus here. Um we can really go
and connect it from here. Right? So we
have do you see that release 21 uh so
that's what it is showing that okay we
have the uh this version and what is the
user ID? We have the user ID as a system
guys and then password is admin. Yeah,
because this is the default one. Right
now you can see that I'm able to connect
here in 21c. So this database we are
able to connect. Now it is actually
giving me the SQL branch. Okay. What I
can do is I can alternatively go to um
go to SQL developer because that is my
client. So rather than actually I
connected here I can actually go and
create a table etc here. But what I will
do, I will just go uh to here. Okay,
this is my SQL developer the client tool
from where I can actually connect to the
database. Okay, so if I go here uh if I
just say admin here. Yes, let us see
whether we are able to connect it. So we
should be able to connect.
Just a moment.
Allow me a moment. It takes some time.
Yeah, but this is a fresh database.
Okay, now we are able to connect
everything and we have this fresh
database. Do we have anything in the
table? No, we have all the system tables
etc. But uh this is how we can actually
connect to this particular database. Now
if you want to actually see that right
uh to to connect it from here, I will
show you the details here. Basically if
you have done the installation very
correctly you just go to properties here
and you should be looking for this
particular detail here. Yeah. So uh this
one I have not added it this time. This
is already added last time. But let us
say first time if you have installed
this Oracle SQL developer right? You
just click on here. Okay. Plus button
and then you say that okay Oracle
21 C version. Yeah. This is my
connection basically. And username I
will say system. So this system should
be uh case sensitive. Yeah. S should be
kept small actually. Everything should
be small and the password is let's say
admin. All of them are lower case
basically. Yeah. I'm just going to save
save it here. And then um all the
details this details will be same
actually. Okay. local host h post uh
port number 1521 and database express
edition x ID is xc basically okay now if
I just say connect here uh okay I'll say
test basically first let's try to see if
test works do you see status is showing
as a success basically now if I just
click on connect it will go and connect
to that particular database basically
okay it has already connected so if I
just go here uh let me do one thing let
me just close this and launch it again
basically. Yeah. So let me just go here.
I will say here SQL developer. So it
it's not required that you always have
the SQL developer. I have since
installed the SQL developer to connect
to Oracle database. That's why uh it is
coming. It's good idea to have the GUI
otherwise do you see that I'm actually
able to connect from SQL plus also like
command prompt. Right here also I can
write all the query. For example, if I
say create table emp and I just say one
column let's say e number equal to uh
number something like this right
uh number
10 maybe yeah that's it if I say it is
able to create this table do you see if
I say dc and uh if I say emp will see
that this table is already created and
then I can insert and do other things
basically but it's just that um we
should have uh ID D right uh now do you
see this is the connection that I've
created yes Oracle 21C okay let me just
go here if I double click on here
[snorts] Oracle 21C this is my
connection name by the way right uh just
uh a moment uh all right okay it already
connected you know why because I have
saved the data uh sorry password
basically right but if I just click
right click here
then it will just give you the just a
second. It will just give you
user and a password here basically.
Yeah, this is the one which is saved
already. Uh hopefully you are able to
see this and make sure that it is case
sensitive. So your username and password
should be exactly if it is uppercase
then uppercase otherwise lower case.
Right? That's all I think and uh I hope
that you should be able to install it
and uh do the connection basically. And
uh that's all I I think uh nothing much
is required. And then you can basically
go and write your query here right
because do you remember just now we have
actually created one table. Let me write
the same command. If I say dsc empa
or I will say structure of the table. Do
you see same thing whatever we have just
created right? There's no other table
but yeah so that's how you can um do
that. It's very simple. It's just that
it takes time for the installation,
right? So, you just have to wait for a
couple of minutes, maybe 10, 15 minutes
also, right? But um once it is done, uh
you just uh should be just fine. Okay?
All right guys, uh I hope that this
video was helpful and you are able to
install it. Do let me know if you find
any difficulty. Do comment on this video
and uh I'll be able to help you out if
there is anything. Yeah. Uh thank you
for watching and um if you've not
subscribed this particular channel do
subscribe. There are amazing content in
this channel. Do explore it. It's
one-stop shop for every single thing on
the ETL testing basically.
[clears throat] Yeah. So just explore
this channel and uh I I'm sure that you
will get some amazing content here.
Okay. Bye-bye. Take care. Until we meet
next time. Happy learning. God bless
you. Bye.
Video Length: 14:29
Uploaded By: ETL QA Labs
Published: 12/12/2025
View Count: 2,579