4 likes
·
3.1K reads
5 comments
fantastic!
hello, how i want to connect the database with my eclipse?
I am not very familiar with Eclipse but I am providing some additional details then you might be able to connect.
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.
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
It is a very subjective matter, maybe a screenshot of the error could help to better understand if there is a connection problem.