Closed sunmingtao closed 3 years ago
The value should be wrapped in double quotations. i.e.
export TROVE_DB_URL="jdbc:mysql://mysql-trove-test.nla.gov.au:6447/singlebiz?useLegacyDatetimeCode=false&serverTimezone=UTC"
Now source ~/.bash_profile
returns nothing and echo $TROVE_DB_URL
prints value.
The line in question is
export TROVE_DB_URL=jdbc:mysql://mysql-trove-test.nla.gov.au:6447/singlebiz?useLegacyDatetimeCode=false&serverTimezone=UTC
Output is
[1]+ Done export TROVE_DB_URL=jdbc:mysql://mysql-trove-test.nla.gov.au:6447/singlebiz?useLegacyDatetimeCode=false
echo $TROVE_DB_URL
prints nothing