Oracle配置文件tnsnames.ora

就这样,听说下一个java,4-8号就过来了。估计我到时候就走了。先写一下之前碰到的问题,也就是
他们把数据库的IP更改了,后来我登录plsql就登录不进去了,一直报错。
再后来要了IP,然后改了配置文件,不过密码也改了。后来都修改后,就好了。密码是他们告诉的

plsql中
Username:SIEBEL
Password:xxxxxxxx
Database:CRMUAT //这里可以连接非常多的数据库,都是在配置文件里面配置的。
Connect as Normal/SYSDBA/SYSOPER // 正常用户,数据库管理员 ,数据库开发人员。(java开发一直用的Normal.)

tnsnames.ora
#tnsnames.ora Network Configuration File: C:\app\admin\product\11.2.0\client_2\NETWORK\ADMIN\tnsnames.ora
#Generated by Oracle configuration tools.

HR92PRD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.40.122)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HR92PRD.XXXXXTECH.COM)
)
)

HR92UAT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.1.208)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HR92UAT)
)
)

HR92SIT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.1.208)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HR92SIT)
)
)

CRMUAT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.1.183)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CRMUAT)
)
)

CRMUAT2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.1.183)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CRMUAT2 )
)
)

CRMDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.1.183)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CRMDEV )
)
)

CRMPROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = crmdb-cluster-scan.xxxxxtech.com)(PORT = 1521))
)
(FAILOVER = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVER_NAME = CRMPROD)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)

EBS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.1.40.141)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prod)
)
)
//还有其他数据库,不过跟我们基本都没关系,不写了。

你可能感兴趣的:(ORA数据库)