This is a tricky one, I have the following output:
mysqldump: Got error: 1045: Access denied for user \'root\'@\'localhost\' (using password: YES) when tr
mysqldump -h hostname -u username -P port -B database --no-create-info -p > output.sql
I think you should specify the args