ibm_db
Version:
IBM DB2 and IBM Informix bindings for node
24 lines (17 loc) • 772 B
Plain Text
* Connection info must be specified in the environment.
For example, by sourcing the following ENV Vars:
export IBM_DB_DBNAME=<Database Name>
export IBM_DB_UID=<Username>
export IBM_DB_PWD=<Password>
export IBM_DB_HOSTNAME=<Hostname or IP>
export IBM_DB_PORT=<Database Port>
* OR,
If not using ENV Vars,Update connection info in
ibm_db/test/config.json file.
* Connection info set in ENV vars will take priority over connection info
in config.json file, if connection info is set at both places.
* If installing ibm_db on z/OS natively,
update connection info in config.zos.json file.
* If target Db2 server for connection is z/OS, set environment variable
IBM_DB_SERVER_TYPE = "ZOS" and update connection info in config.zos.json file.