I get the following error: Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS: listener does not currently know of SID given in connect descriptor. My services are below and my connection window. I believe the installation of oracle 12c was a success. Do you guys know what could be wrong, please.
Cannot connect the oracle server to developer
connectivityoracleoracle-12c
Best Answer
First Logged in SQLPlus and Unlock the user
Run SQLPlus, connect as SYS user (use administrator's password you have entered during installation) . Suppose that here For your test connection unlock HR user and give him a new password:
For Creating a Database Connection
The first step to managing database objects using Oracle SQL Developer is to create a database connection.Perform the following steps:
Open Oracle SQL Developer.
In the Connections navigator, right-click Connections and select New Connection.
Enter test for the Connection Name (or any other name that identifies your connection), hr for the Username and Password, specify your
localhost
for theHostname
and enterORCL10
(in your case, as it showing in your attached picture) for theSID
. Click Test.The status of the connection was tested successfully. The connection was not saved however. Click Save to save the connection, and then click Connect.
For further your ref Here , Here & Here