Forums

Environment variable containing $ getting truncated

I am attempting to do the following: export MYSQL_DATABASE_DB="myname$mydatabase"

The varable gets set as "myname"

Any hints as to what escaping needs to get done?

Put he string in single quotes.

Worked perfectly. Thanks.

Glad we could help!