Skip to content

Commit 36ca862

Browse files
committed
Add Oracle doc link for TNS_ADMIN
1 parent bd56ed7 commit 36ca862

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/api.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2612,10 +2612,12 @@ sales =
26122612
```
26132613
26142614
The `tnsnames.ora` file can be in a default location such as
2615+
`/opt/oracle/instantclient_12_2/network/admin` (if Instant Client is
2616+
in `/opt/oracle/instantclient_12_2`), in
26152617
`$ORACLE_HOME/network/admin/tnsnames.ora` or
2616-
`/etc/tnsnames.ora`. Alternatively set the `TNS_ADMIN` environment
2617-
variable and put the file in `$TNS_ADMIN/tnsnames.ora`. For more
2618-
information on `tnsnames.ora` files see [General Syntax of
2618+
`/etc/tnsnames.ora`. Alternatively set the [`TNS_ADMIN`][8]
2619+
environment variable and put the file in `$TNS_ADMIN/tnsnames.ora`.
2620+
For more information on `tnsnames.ora` files see [General Syntax of
26192621
tnsnames.ora][18] in the Oracle documentation.
26202622
26212623
Some older databases may use a 'SID' instead of a 'Service Name'. A
@@ -6287,6 +6289,7 @@ PL/SQL users may be interested in using [PL/Scope][78].
62876289
[5]: https://docs.oracle.com/database/122/SQLRF/SELECT.htm#GUID-CFA006CA-6FF1-4972-821E-6996142A51C6__BABEAACC
62886290
[6]: https://docs.oracle.com/database/122/LNOCI/oci-programming-advanced-topics.htm#LNOCI16617
62896291
[7]: https://docs.oracle.com/database/122/LNOCI/oci-programming-basics.htm#GUID-D77D0D4A-7483-423A-9767-CBB5854A15CC
6292+
[8]: https://docs.oracle.com/database/122/NETRF/local-naming-parameters-in-tnsnames-ora-file.htm#NETRF260
62906293
[9]: https://docs.oracle.com/database/122/LNOCI/managing-scalable-platforms.htm#LNOCI-GUID-624A4771-58C5-4E2B-8131-E3389F58A0D6
62916294
[10]: https://docs.oracle.com/database/122/LNOCI/managing-scalable-platforms.htm#LNOCI-GUID-8A9F1295-4360-4AC6-99A4-050C5C82E0B0
62926295
[11]: https://docs.oracle.com/database/122/CNCPT/topics-for-database-administrators-and-developers.htm#GUID-89DB0C3C-A36F-4254-8C82-020F5F6DE31F

0 commit comments

Comments
 (0)