如题。
oracle 10.1.0.2.0 安装成功后 sqlplus 可以登录。
但是plsql报错 ora-12514aa =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = aa)
)
)EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)如果把localhost 改成ip 地址也不行。
这是为什么?
oracle 10.1.0.2.0 安装成功后 sqlplus 可以登录。
但是plsql报错 ora-12514aa =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = aa)
)
)EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)如果把localhost 改成ip 地址也不行。
这是为什么?
Check that the SERVICE_NAME parameter 还是说你选择的SERVICE_NAME有可能不对。你本机只装过一次Oracle?
问题是 周六上午我装的。 后来装了plsql都可以登录。周一以来 就登录不了了。
但是sqlplus 可以登录。
点击Tools-->Preference之后的图片:
http://hi.csdn.net/space-4884479-do-album-picid-965888.html
Make sure that the service name that you are connecting to is included in the TNSNAMES.ORA file and that it is correctly defined.
Make sure that there are no syntax errors in the TNSNAMES.ORA file. For example, if there are unmatched brackets in the file (ie: open bracket without the corresponding close bracket), the file will be rendered unusable.是不是装了oracle服务端有装了客户端,看一下你的oracle home是否正确