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/lolcrunchy Sep 24 '26

"Syntax error in Easy Connect connection string"

This means it is failing to parse the connection instructions you have provided, and has not yet attempted to connect.

0

u/Finanz_minister Sep 24 '26

How do I make it attempt it again? 😅

3

u/lolcrunchy Sep 24 '26

Just to be clear, it has not YET attempted.

You have to figure out what is causing the syntax error.

It's kinda like you hop into a taxi and you say "go to 1002 New York 77 Main 912 Street 88800", then the driver says "idk how to understand that address". You shouldn't ask "how do I convince this driver to start driving?", you should ask "what address do I need to give the driver?"

1

u/Finanz_minister Sep 24 '26

Oooooh that makes more sense thank you. everybody is saying my host name is wrong and that it should be an address, but I don’t really know what address within my computer it should be so it understands it, should I put a file address?

1

u/lolcrunchy Sep 24 '26

Uhhhh I doubt it would be a file address. Do YOU know what database you're trying to connect to? Is it YOUR database on your own computer? Or is it someone else's?

1

u/Finanz_minister Sep 24 '26

I’m trying to create one for my own computer

1

u/lolcrunchy Sep 24 '26

So you haven't created one YET? You need to have a database up and running before you can use the application in your photo.

1

u/Finanz_minister Sep 24 '26

Yo I didn’t think about it before, I’m stupid, let me try that rq

2

u/Traditional-Unit-274 Sep 24 '26

try selecting “sid” instead of “service name” and hit “connect” again

1

u/Finanz_minister Sep 24 '26

It says “SID xe is not registered with the listener at host Locho port 1521”