1ï¼ç¹å»Net Configuration Assistant
2) å¨å¼¹åºç对è¯æ¡ä¸éæ©æ¬å°Netæå¡åé
ç½®ï¼ç¹ä¸ä¸æ¥
3ï¼ å¨æå¡åé
置对è¯æ¡ä¸éæ©æ·»å ï¼ç¹ä¸ä¸æ¥
4ï¼å¨å¦ä¸å¯¹è¯æ¡ä¸å¡«åè¦è®¿é®çoralceæ°æ®åºçæå¡åï¼è¯¥æå¡åå¯ä»¥éè¿oralceç»å½ç¨æ·åè¿å
¥ç¯å¢ï¼å¨.cshrcä¸ï¼ç¯å¢åéORACLE_SID对åºçå¼ä¾¿æ¯è¿ä¸ªæå¡åï¼ä¹å¯ä»¥å¨oracleç¨æ·ç¯å¢ä¸æ§è¡grep | env ORACLE_SIDæ¥æ¾ã
ç¹å»ä¸ä¸æ¥
5ï¼éæ©tcpåè®®ï¼ç¹ä¸ä¸æ¥
6ï¼ä¸»æºåä¸å¡«åè¦è®¿é®çoracleæ°æ®åºæå¡å¨ï¼ä½¿ç¨æ å端å£å·1521ï¼ç¹ä¸ä¸æ¥
7ï¼éä¸âæ¯ï¼è¿è¡æµè¯âï¼ç¹ä¸ä¸æ¥
8) ç¹æ´æ¹ç»å½ï¼å¡«åè¦è®¿é®çæ°æ®åºç¨æ·ååå¯ç ï¼ç¡®ä¿å
¶æ£ç¡®ãæ¤å¤ä¸»è¦æ¯éªè¯åé¢é
ç½®æ¯å¦æ£ç¡®ï¼å¦æ£ç¡®è¿éçæµè¯å°±å¯ä»¥æåã
å¦æä¸æ£ç¡®è¯·æ£æ¥æå¡åãipå°åãç¨æ·åãå¯ç ä¸æ¯å¦æåéï¼å¹¶æ¹ä¹ï¼å°±å¯ä»¥æåäºã
æµè¯æååç¹ä¸ä¸æ¥
9ï¼å¨ä¸å¾ä¸å¡«åç½ç»æå¡åï¼æ¤å¤çç½ç»æå¡åå¯ä»¥éæååï¼ç¹ä¸ä¸æ¥ï¼åé¢é
ç½®æ°æ®æºçæ¶åç¨çå°±æ¯è¿ä¸ªç½ç»æå¡å
æ¹æ³ä¸ç¨èµ·æ¥æç¹å°å¤æï¼ä¸è¿å¯ä»¥äºè§£æ°æ®åºçé
ç½®æ¥éª¤ï¼æ¹æ³äºç¸å¯¹æ¥è¯´ç®åå¾å¤
æ¾å°æ¬æºoracleæ°æ®åºå®è£
çå¦ä¸è·¯å¾ï¼å¦ï¼
F:\app\Administrator\product\11.1.0\client_1\network\adminï¼å¨è¯¥è·¯å¾ä¸æ个æ件tnsnames.oraï¼æå¼æ件ä¼åç°éé¢æå¾å¤è¿æ¥é
ç½®ï¼ç´æ¥æ·è´ä¸ä¸ªä¿®æ¹å¦ä¸çº¢è²å
SYSDB_102 = //对åºçå°±æ¯ä¸é¢æ¹æ³ä¸æå°çç½ç»æå¡å
(description =
(address_LIST =
(address = (protocol = tcp)(host = 10.41.24.102)(PORT = 1521)) //访é®æ°æ®åºçip
)
(CONNECT_DATA =
(SERVICE_NAME = sysdb) //æ°æ®åºæå¡å
)
)
å½é
置好åï¼å°±å¯ä»¥ç¨plsql访é®æ°æ®åºäº
温馨提示:答案为网友推荐,仅供参考