Question & Answer
Question
Why do I get error:
Error message: -bash: <password> event not found
when running the script:
/opt/IBM/scanalytics/UI/bin/changeDatabase.sh
Cause
The password of choice contains special characters, such as '!', ie:
/opt/IBM/scanalytics/UI/bin/changeDatabase.sh --password=pass!123 --databaseName=SCAPIDB --serverName=client_host_name --portNumber=8001 -user=db2inst1
Answer
Use single quotes to escape special characters:
opt/IBM/scanalytics/UI/bin/changeDatabase.sh --password='pass!123' --databaseName=SCAPIDB --serverName=pi_server --portNumber=8001 -user=db2inst1
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSJQQ3","label":"IBM Operations Analytics - Predictive Insights"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Historical Number
TS002668346
Was this topic helpful?
Document Information
Modified date:
06 September 2019
UID
ibm11072830