尽管数据库名称不在tnsnames.ora中,TOAD仍会连接 [英] TOAD connects despite the db name not being present in tnsnames.ora

查看:155
本文介绍了尽管数据库名称不在tnsnames.ora中,TOAD仍会连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我去了TOAD,并输入了DBA提供给我的数据库的TNS名称.我还输入了用户名和密码,并且连接正常. 我的困惑是tnsnames.ora文件没有任何与该数据库名称相对应的条目.那么TOAD如何解析数据库名称?

I went in TOAD and put in the TNS name for a db that was supplied to me by the DBA. I also put in the user and password and it connected fine. My confusion is that the tnsnames.ora file does not have any entry corresponding to that db name. So how is TOAD resolving the DB name?

推荐答案

在您的Oracle客户端中,ldap.ora文件可以列出一个或多个ldap服务器名称,可以查询该名称以获得给定TNS的Oracle实例信息.姓名.这样,TOAD(和其他应用程序)可以解析tnsnames.ora文件中未列出的Oracle数据库名称.

In your Oracle client, the ldap.ora file can list one or more ldap server names, which can be queried to get the Oracle instance info for the given TNS name. This way, TOAD (and other apps) can resolve Oracle database names that are not listed in the tnsnames.ora file.

这篇关于尽管数据库名称不在tnsnames.ora中,TOAD仍会连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆