1、单独下载 instantclient_10_2 ,在云盘中有
2、plsql中 首选项配置路径
3、E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN中的listener.ora
# listener.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(SID_NAME = ORCL)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = lyc-PC)(PORT = 1521))
)
)
红色为手动添加
3、在环境变量中配置TNS_ADMIN 值 E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
时间: 2024-10-05 17:01:39