Skip to content

Commit 4d4ce57

Browse files
committed
Direct new users to use Easy Connect connection syntax
1 parent 214935e commit 4d4ce57

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

examples/dbconfig.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@
2727
* string, or a Net Service Name from a tnsnames.ora file or
2828
* external naming service, or it can be the name of a local Oracle
2929
* database instance.
30-
*
31-
* The Easy Connect syntax is:
30+
*
31+
* If node-oracledb is linked with Instant Client, then an Easy
32+
* Connect string is generally appropriate. The syntax is:
33+
*
3234
* [//]host_name[:port][/service_name][:server_type][/instance_name]
35+
*
36+
* Commonly just the host_name and service_name are needed
37+
* e.g. "localhost/orcl" or "localhost/XE"
3338
*
3439
* If using a tnsnames.ora file, the file can be in a default
3540
* location such as $ORACLE_HOME/network/admin/tnsnames.ora or

0 commit comments

Comments
 (0)