r/SQL • • Sep 24 '26

Oracle I’m getting ORA-12261

Post image

I’m trying to create a new connection but it won’t let me. Im even testing my other connection and it gives me the same message even thought it’s fully operational, anybody knows why?

0 Upvotes

23 comments sorted by

View all comments

2

u/Traditional-Unit-274 Sep 24 '26

your host name should be an address

1

u/Finanz_minister Sep 24 '26

When I first created my first connection I put in that exact host name and it worked. Sorry for my lack of knowledge, but how do I find out the proper address within my computer?

2

u/Traditional-Unit-274 Sep 24 '26

is this just something you installed locally? usually when someone expects you to connect to a db they give you the connection info you need

1

u/Finanz_minister Sep 24 '26

Yeah it’s local, rn im learning how to do stuff so I was just playing around with queries and pre-made databases my professor gave me, the thing is I want to create a separate connection because the default connection came with a bunch of tables that are useless and kinda bother me😅

1

u/Traditional-Unit-274 Sep 24 '26

the thing is the connection info, it has to be right. all that, the hostname, the sid, the username, password, you can’t guess you have to know what it is to get in. if you can log in at all you can google and query the db for the correct values. but it sounds like maybe your professor had a database and you tried to replicate at home by spinning up your own?