Hopefully by now you have seen the buzz about the release of 21c Express Edition (XE) and here’s a walkthrough on how you install it with just a few clicks.
But if you’re “old school” and like using a tnsname entry to connect to your database, there is one additional step that will make your experience easier.
Like all editions of 21c, XE uses the read-only Oracle Home layout, so your SQL*Net configuration files will be under the “homes” folder, not under the software defined ORACLE_HOME. Once you navigate there, your tnsnames.ora file will look like this:
That looks fine, but don’t forget, XE is installed as a pluggable database so it will be rare that you want to connect to the XE service, because that is the root container. The service (and pluggable) where you will most likely be doing your development is the XEPDB1 pluggable. Thus you should add an entry similar to the following to make it easy to connect to your pluggable database.
and voila! You are good to go!
Enjoy XE!




Leave a reply to Angel O. Flores Torres Cancel reply