Question

I'm getting this error when I connect to oracleXe 11.2 from squirrel

java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186647040)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))

Was it helpful?

Solution

If you look for ORA-12505 you will find that the message behind this number is that you SID in the connection descriptor is incorrect. This can have several reasons. The standard SID for an XE database is XE unless you did not change any of the listener.ora or tnsnames.ora. If you are able to connect to the database with SQL Developer or SQLPlus properly you should probably check the connection details you provided to Squirrel and edit them accordingly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top