DEV Community

Cover image for How to connect to SQL Plus in oracle xe running in a docker container
Adrian Matei for Codever

Posted on • Updated on • Originally published at codever.land

How to connect to SQL Plus in oracle xe running in a docker container

Issue the following command in terminal:

docker exec -it YOUR_IMAGE bash
Enter fullscreen mode Exit fullscreen mode

Once in bash issue the following command, and you are there:

sqlplus YOUR_USERNAME/USERNAME_PASSWORD@localhost:1521/XE
Enter fullscreen mode Exit fullscreen mode

Shared with ❤️ from Codever. Use 👉 copy to mine functionality to add it to your personal snippets collection.

Discussion (0)