赞
踩
修改了计算机名后,运行PL/SQL DEV时提示
ORA-12545: Connect failed because target host or object does not exist |
将HOST修改成计算机名。
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
可能还会出现NO LISTENER错误,这样的话,就要在同一个目录下,将listener.ora里相应的主机名也修改
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST =hostname)(PORT = 1521))
)
)
然后再重启电脑。
问题解决。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。