Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows 上安装了 Oracle 10g。目前,我的 tnsnames 文件存储在 %ORACLEHOME%\network\admin 中。但是,我想将 Oracle 配置为在其他地方查找该文件。
我怎样才能做到这一点?
安德鲁·L
您可以使用 TNS_ADMIN 环境变量来指定 TNSNAMES.ORA 文件的自定义位置。检查这个维基:http ://www.orafaq.com/wiki/TNS_ADMIN