Closed Regis111 closed 10 hours ago
@Regis111 Before running test file from ibm_db\test
directory, you need to update database connection information in ibm_db\test\config.json
file. waldevdbclnxtst06 is used as dummy value in config.json file and since you have not updated it, it is using the dummy value and hence the error.
If you do not want to update config.json, you can set environment variable IBM_DB_HOSTNAME as used here: https://github.com/ibmdb/node-ibm_db/blob/master/test/common.js#L70C43-L70C58
If you still have issue, please share the test file that you are executing and what connection string you are using. Thanks.
When running tests in ibm_db package, I get error:
Steps to Reproduce:
node_modules/ibm_db/test/
node run-tests.js
Please provide below information while opening an issue to understand your problem
v20.11.0
db2level
command from Db2 database system:For non-Windows system, output of below commands from terminal:
uname -
Linux
uname -m -x86_64
node -v -v20.11.0
npm ls ibm_db: version used is "3.2.4"
db2level:
echo $IBM_DB_HOME:
/home/regis/sqllib
echo $PATH: blank echo $LD_LIBRARY_PATH $DYLD_LIBRARY_PATH