Oracle: what is the “instantclient” connection str

2020-04-07 04:26发布

and how does it differ from the regular connection string?

3条回答
等我变得足够好
2楼-- · 2020-04-07 04:57

Here is a comprehensive list of connection strings for Oracle (http://www.connectionstrings.com/oracle)

查看更多
Root(大扎)
3楼-- · 2020-04-07 05:06

The format is:

name/pass@//host:1521/instance

Standard Oracle connect strings typically look like

name/pass@tnsentry

Where tnsentry has been defined by one of several means such as a tnsnames.ora file. idstram's answer has an excellent pointer if you're looking for more details.

查看更多
贼婆χ
4楼-- · 2020-04-07 05:13

Connecting with the instant client is no different than with the full stack client - all connect string formats are the same. If you installed the instant client in a non-standard location on the filesystem or are having problems connecting to the database listener, be sure that your TNS_ADMIN environment points to the directory that contains your tnsnames.ora and sqlnet.ora files,

查看更多
登录 后发表回答