Sign in
Log inSign up
Kush Joshi

4 likes

·

3.0K reads

5 comments

Anmol Narang
Anmol Narang
May 26, 2023

fantastic!

1
·
Iman Ashraf
Iman Ashraf
Jun 22, 2023

hello, how i want to connect the database with my eclipse?

·
·1 reply
Kush Joshi
Kush Joshi
Author
·Jun 22, 2023

I am not very familiar with Eclipse but I am providing some additional details then you might be able to connect.

Screenshot 2023-05-05 at 9.47.27 PM.png

The username will be "system". The password will be the password you set in the docker run command.

The host will be "localhost"

The port will be 1521

The service name will be "XEPDB1"

You can also create a user using SQL shell for Eclipse:

docker exec -it <image_ID> bash

sqlplus system/<yourPassword>//localhost/XEPDB1

create user <newName> identified by <userPass> default tablespace users;

And then give privileges to this user.

·
Sir Madz
Sir Madz
Apr 21, 2024

After I followed the tutorial you gave, I was able to make a connection in SQL Developer, but the next day when I tried again in the terminal it still worked, but when I tried to continue my work the previous day in SQL Developer, an error occurred in the connection, but in the terminal there was no error. Please help

·
·1 reply
Kush Joshi
Kush Joshi
Author
·Apr 21, 2024

It is a very subjective matter, maybe a screenshot of the error could help to better understand if there is a connection problem.

·