how to add a path variable

Hi,

I tried to add a path vairable
export GPLOAD_CONNECT_STR= -U crm -h sdc-gp1-dev1 -d wmgpdev

but it throws the below error

-bash: export: `-U': not a valid identifier
-bash: export: `-h': not a valid identifier
-bash: export: `sdc-gp1-dev1': not a valid identifier
-bash: export: `-d': not a valid identifier

Anyone please help to fix this error

thanks in advance,
Burton

Put it in quotes like any other string.

export GPLOAD_CONNECT_STR="-U crm -h sdc-gp1-dev1 -d wmgpdev"
1 Like

Thanks Corona688, it works :slight_smile: