| Author |
Message |
jjscott
Joined: 19 Mar 2013 Posts: 1
|
Posted: Tue Mar 19, 2013 7:40 pm Post subject: Does Data Compare support command line calls? |
|
|
I have real-time database replication enabled between two MySQL v5.5.29 databases and I need an automated method to determine if the db's are in sync. I would implement a nightly or weekly process to call the utility to verify success or failure.
Can I call the dbcompare utility from a script and parse a return code for success or failure? This would be the same as calling the native MySQL utility mysqldbcompare.exe. While I've used the latter, it's just too slow for pratical use.
Thanks |
|
| Back to top |
|
 |
Michael Christofides
Joined: 20 Apr 2011 Posts: 67 Location: Red Gate Software
|
Posted: Thu Mar 21, 2013 12:29 pm Post subject: |
|
|
Hello.
You can call MySQL Data Compare from the command line, by running MDC.exe from the installation directory. You can get the documentation by running:
MDC /? /v
Whilst there isn't a success/failure output (I've added your support to our feature request MSDC-27), others have used the tool to generate the deployment script for the differences and saved that to a folder each time (success would be an empty script).
We'd be interested how you find the tool. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group