I BELIEVE I CAN

加油,努力,奋斗!!

导航

oracle连接字符串配置

oracle\ora92\network\admin目录下 打开tnsnames.ora

XXX(连接字符串名字) =   (DESCRIPTION =     (ADDRESS_LIST =       (ADDRESS = (PROTOCOL = TCP)(HOST = XXX(连接主机))(PORT = 1521))     )     (CONNECT_DATA =       (SERVER = DEDICATED)       (SERVICE_NAME = XXX(服务名))     )   )

保存后。。。运行CMD

1.tnsping XXX(连接字符串名字)

2.sqlplus XXX(用户名)@XXX(连接字符串名字)

OK

posted on 2012-12-26 10:48  朱小能  阅读(1027)  评论(0编辑  收藏  举报