I am running a command on mysqlulc> prompt on CMD. The command is as below:-
mysqluc> mysqldbcompare --server1=root:Password1!@host1 --server2=root:Password1!@host2 teststore:teststore --run-all-tests --changes-for=server2 --difftype=sql
I want to redirect the output of this command into a text file. I have tried redirection operator '>' and also the 'INTO FILE' thing but no success. The 'mysqldbcompare' utility is not accepting any other characters at end of the command.
Please help on this.
Thanks in advance!!
I have the same problem and solved by run the mysqldbcompare command under the work bench install folder instead of in the mysqluc command window.
In my case, I run the similar command below under D:\MyTool\mysql-workbench-community-6.2.5-winx64-noinstall\MySQL Workbench 6.2.5 CE (winx64)
Hope it helps.