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?
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 >
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.