安裝ORACLE 選擇自定義安裝
HS_FDS_CONNECT_INFO="SERVER=YIRONG
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
說明 可以通過 ORACLE 工具中的migration WorkBench 進行配置
# LISTENER
# Generated by Oracle configuration tools
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = yirong
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:oracleora
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ora
(ORACLE_HOME = F:oracleora
(SID_NAME = ora
)
#連接 sqlserver
(SID_DESC =
(GLOBAL_DBNAME = tg
(PROGRAM = tg
(SID_NAME = tg
(ORACLE_HOME = F:oracleora
)
)
TG
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=
(CONNECT_DATA=(SID=tg
(HS=)
)
create PUBLIC DATABASE LINK oratoSql
CONNECT TO sa IDENTIFIED BY "lanwei"
USING
From:http://tw.wingwit.com/Article/program/Oracle/201311/19062.html