å®è£ 好oracle clientæè 绿è²çæ¬çinstantä¹åï¼
注ï¼instantå®è£ ä¹åéè¦å¨plsqlçpreferenceéé¢è®¾ç½®
å¿ é¡»å¤§åociæè¡âD:\nchome\instantclient_11\OCI.DLLâ
PL/SQL Developerå 为绿è²çåºç°æ±åä¹±ç ç解å³æ¹æ³ï¼
å¨windowsä¸å建ä¸ä¸ªå为NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBKï¼ç¶åéæ°å¯å¨ pl/sql developerï¼è¿æ ·æ£ç´¢åºæ¥çä¸æå 容就ä¸ä¼æ¯ä¹±ç äºã
2015-02-09 10:40:16 å¿«æ·è¾å ¥
ä»å®¢æ·ç«¯PLSQLè¿æ¥å°ORACLEæ ...
æ¥éª¤1ï¼ å¨å®¢æ·ç«¯å å®è£ oracle客æ·ç«¯åPLSQL软件ï¼å°±æ¯å¨oracleå®è£ è¿ç¨ä¸éæ©å®è£ 客æ·ç«¯å°±å¯ä»¥äº ã
æ¥éª¤2ï¼ å¨æå¡å¨ç«¯å®è£ oracleæå¡å¨ç«¯å°±å¯ä»¥äºæ¥éª¤3ï¼ ä¿®æ¹oracle客æ·ç«¯tnsnames.oraæ件ï¼ç®å½å¨C:\oracle\ora92\network\adminï¼ MYACCP= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL=tcp)(HOST=superich-accp )(PORT=1521)) ) (CONNECT_DATA=(SERVICE_NAME = ACCP) ) )
æ³¨ï¼ superich-accp 为æå¡å¨ä¸»æºå称 ACCP为oracleæå¡å ...
举ä¾ï¼
# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
JSCE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.1.27)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = jsce)
)
)
注æï¼ä¸é¢çè¯å¥å¯ä»¥ä¾æ®ä¸é¢çåæ³copyä¸å»ï¼è¿æ ·plsqlå¨ç»å½çæ¶åå¯ä»¥éæ©ä¸åçæ°æ®åºï¼æ¯å¦æ£å¼åºæè æµè¯åºã
å¦ä¸ï¼
# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
JSCE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.1.27)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = jsce)
)
)
NC57 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = NC57)
)
)
nc52 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = nc52)
)
)
å¦ææ³å é¤plsqlçç»éåå²
å¯ä»¥è¿æ ·æä½ï¼
å¨PLSQLå®è£
ç®å½ï¼
å¦C:\Program Files\PLSQL Developer\Preferences\ç»å½windowsç¨æ·æ件夹
æ¾å°user.prefsæ件éç¨è®°äºæ¬æ¹å¼æå¼
æç´¢ä¸ä¸[LogonHistory]
å é¤ä¸é¢ç±»ä¼¼å符串çå
容就å¯ä»¥äºæ¸
é¤ç»å½è®°å½
åç¬¦ä¸²æ ¼å¼ç±»ä¼¼ä¸é¢å½¢å¼ï¼
2142483249544756460649843666463650144688466650444286400840344012
2012.9.24å·æ´æ°ï¼
æå¨æå¡éé¢å ³éåå¯å¨äºçå¬
å¨oracle群å京 éæµ·ç帮å©ä¸ï¼ç»éPL/SQL Developerçæ¶ådatabaseè¿æ ·åï¼
前提是电脑必须安装oracle客户端。
配置方法:
1、找到oracle的安装目录。如:C:\oracle\product\10.2.0\db_1\network\ADMIN
2、找到tnsnames.ora文件。
3、用文本方式打开,添加以下内容:
本地实例名 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 远程数据库IP地址)(PORT = 远程服务器端口号))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = 远程数据库服务名)
)
)
其中中文部分是需要修改的部分,除第一个“本地实例名”外,其他需要跟远程数据库管理员咨询,本地实例名就是方便自己识别数据库的一个名字,可以自定义。
4、然后打开pl/sql就能看到自己创建的链接,如图: