First of all, i have Oracle 10g installed in my PC, so i'm just connecting to the db locally for educational purposes. I always logon as SCOTT.
Ok, I have Oracle 10g already installed long time ago. I used to access it via SQL Developer, now i moved to new place so the IP is changed, i can't connect with SQL Developer! Even though I can not connect to the Database via SQL Developer, i can connect to the database via SQL*Plus successfully. Also, I can connect as sysdba from SQL*Plus.
The error i get in SQL Developer, "Socket is not connected".
Here is my problem:-
I downloaded TOAD, i put username as SCOTT and password 123456.
In "Database" field there are:
- EXTPROC_CONNECTION_DATA
- ORCL
In the white box at the left side, there is nothing.
In "Connect Using" list, there are:
- (Oracle Root)
- OraDb10g_home1
I entered username as SCOTT and password as 123456. "Database" set to ORCL. "Connect Using" is OraDb10g_home1. I get this error:
ORA-12545: Connect failed because target host or object does not exist
--------------------------
---------
Afterwords, i did:
C:\Users\User>tnsping orcl
TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on
009 02:58:28
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\d
b_1\networ
k\admin\sq
lnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
PC.gateway.2wire.net)(PORT
= 1521)) (CONNECT_DATA = (SERVER = DEDICATED)
E_NAME = orcl)))
TNS-12545: Connect failed because target host or object does not exist
C:\Users\User>
--------------------------
-------
As you see i don't get any IP back: TNS-12545: Connect failed because target host or object does not exist
**************************
**********
Extra Info:
Here is my Oracle 10g Enterprise installation info:
I have installed this version "Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) - Enterprise Edition for Microsoft Windows Vista and Windows 2008".
username: scott
password: 123456
host string:
Global DB Name: orcl
System Identifier (SID): orcl
Server Parameter Filename: D:\oracle\product\10.2.0\d
b_1\databa
se\SPFILEO
RCL.ORA
**************************
**********
**********
***
Any help will be appreciated.
Regards