Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Argument for Command Incorrectly Read

Jeff Shank
Contributor
August 9, 2012

I've created mysqldump as a command and am passing the following arguments:

-h ${bamboo.dbhostname} -P ${bamboo.dbport} -u ${bamboo.dbusername} -p${bamboo.dbpassword} schema > schema.sql

While this works perfectly via command line, when run from Bamboo, the build log reports:

mysqldump: Couldn't find table: >

I've tried piping to cat then redirecting but then it reports:

mysqldump: Couldn't find table: |

Should I be escaping the redirect in some way?

1 answer

0 votes
J. Caldwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2012

are there any special charcters in the hostname, db user name/password? My thought is that there is a charcter causing odd behavior before then so that it picks up the >

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events