LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = qihezhiye-PC.connectify)(PORT = 1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = mydb)
(ORACLE_HOME = D:\oracle\oradb\mydb)
(SID_NAME = mydb)
)
)
补充或修改红色区域后边这部分。
mydb oracle的sid
ORACLE_HOME 为oracle的home目录,她的下一级目录应该有network这个文件夹。