I'm trying to run "mysqldump" command from my Java program (please see code snippet).
But it gives me the following error:
ERROR:mysqldump: Couldn't find table: ">"
Can someone please advise?
Thanks in advance for the help.
Runtime shell = Runtime.getRuntime();
Process proc = shell.exec("mysqldump -uusername -pmypassword -d startdb markets > " + currentDir+ "\\\\mkts.dump" );