我在使用oracle 11g连接Toad时面临一个问题。 ORA-28547:与服务器的连接失败,可能是Oracle Net管理员错误
请查看需要的详细信息如下。
1.tnsnames.ora
# tnsnames.ora Network Configuration File: F:\app\god\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.7)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.168.1.7)
)
)
SQLNET.ORA
SQLNET.AUTHENTICATION_SERVICES =(NONE)
NAMES.DIRECTORY_PATH =(EZCONNECT,TNSNAMES)
ADR_BASE = F:\ app \ god \ product \ 11.2.0 \ dbhome_1 \ log
3.listener.ora
# listener.ora Network Configuration File: F:\app\god\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = F:\app\god\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\god\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.7)(PORT = 1521))
)
)
ADR_BASE_LISTENER = F:\app\god
也让我知道在连接这个数据库时需要在toad中提供什么主机,端口,service_id / sid。两者都安装在我的同一台笔记本电脑上
答案 0 :(得分:0)
我遇到了同样的问题,但还没找到解决方法。 昨天TOAD工作正常,但今天我得到了这个错误。
我认为它必须与TOAD有关,因为我对SQL Developer没有任何问题。
编辑:我通过重新启动计算机解决了这个问题。