WIN7 64位 oracle ORA-12514:
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WIN7 64位 oracle ORA-12514:相关的知识,希望对你有一定的参考价值。
将tnsnames.ora中这个链接的Service_Name,改为SID_Name,或将这两个字符串调换。追问改了变成这样了
服务器莫名其妙的报这个错,之前一直正常,从google获取解决方案,解决之,记录如下:
1. Open the ""/network/admin/listener.ora" file in the host,and you will see:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
)
2. Add the following lines after the 7th line in the above
(SID_DESC =
(GLOBAL_DBNAME = ORACLE)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = ORACLE)
)
3. At last the content of the file become to the following section:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORACLE)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = ORACLE)
)
)
4. Save the file and restart the TNSListener service in the host. That's OK!
http://www.tudou.com/programs/view/yCp1WXlFTus/
以上是关于WIN7 64位 oracle ORA-12514:的主要内容,如果未能解决你的问题,请参考以下文章
cx_Oracle.DatabaseError: ORA-12514
SQL Developer连接oracle报错ORA-12514