一、Oracle NET配置文件

Oracle NET是一个软件层,支持不同网络协议之间的转换。不同的物理机器可以借助这个软件层实现相互间的通信,具体而言就是实现对oracle的远程访问。

oracle net配置文件包括listener.ora,tnsnames.ora,sqlnet.ora和ldap.ora;配置文件都是放在$ORACLE_HOME\network\admin目录下。

  • sqlnet.ora文件在客户端上,确定解析方式,通过这个文件来决定怎么样找一个连接中出现的连接字符串
  • tnsnames.ora文件在客户端上,记录每个oracle net 别名对应的主机和oracle实例;
  • listener.ora工作在数据库服务器端,负责监听希望通过网络访问oracle数据库的客户端连接要求;

1.1 sqlnet.ora

sqlnet.ora用来决定oracle怎么解析一个连接中出现的字符串,

# sqlnet.ora Network Configuration File: C:\app\ORACLE\product\12.1.0\dbhome_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
View Code

相关文章:

  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-12-16
  • 2021-10-03
  • 2022-02-17
  • 2021-12-25
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-05-15
  • 2021-10-11
相关资源
相似解决方案