TOAD connects despite the db name not being present in tnsnames.ora

纵然是瞬间 提交于 2019-12-11 18:35:51

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/11890387/toad-connects-despite-the-db-name-not-being-present-in-tnsnames-ora

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!