MTS
MTS

Reputation: 114

mysqldump bad arguments order?

Windows

I try to backup database by creating process in c# and i'm passing this arguments to the process:

--column-statistics=0 --user=natesta --password="123" mydbfortesting > "D:\\outputdir\\mydbfortesting_dump.sql"

But i got error: mysqldump: Couldn't find table: ">"

I can't find any information about this, something change in arguments order?

Upvotes: 0

Views: 34

Answers (1)

MTS
MTS

Reputation: 114

After i changed > to -r it starts working.

--column-statistics=0 --user=natesta --password="123" mydbfortesting -r "D:\\outputdir\\mydbfortesting_dump.sql"

Upvotes: 1

Related Questions