Problem using mySQLDump

EFileTahi-A

Well-known member
Joined
Aug 8, 2004
Messages
539
Location
Portugal / Barreiro
I cannot start it up by executing it throught .NET.

This works just fine:
Code:
Process.Start("\\mySQLDump.exe", "--help");

I can see clearly the help menu appear, even if the DOS window closes emidiatly.

This works if I type it directly on command window or executing from "Start/execute"
"mySQLDump -u root myDatabase > d:\test"

However, the following does not work:
Code:
Process.Start("\\mySQLDump.exe", "-u root myDatabase > d:\test");

Why? Well I managed to take a screenshot from the DOS (after many tries) with the following message:

c:\mysql\bin\mySQLDump.exe: Cant get CREATE TABLE for table > (Cant find file .\myDatabase\>.frm (errno: 22))

Where the heck came the "\myDatabase\>.frm"??? And why is it trying to create a table? Also, why is it assuming > is a table?...

Any piece of info will be incredible welcome no matter how small it might be...
 
Last edited by a moderator:
Back
Top