<div dir="ltr">Hi, the easist way is this software: <a href="https://www.devart.com/dbforge/mysql/datacompare/">https://www.devart.com/dbforge/mysql/datacompare/</a><div><br></div><div>Pavel</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-08 19:31 GMT+02:00 Jan-Piet Mens <span dir="ltr"><<a href="mailto:jpmens.dns@gmail.com" target="_blank">jpmens.dns@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> What do you guys think would be the best approach for comparing two<br>
> PowerDNS MYSQL databases that are supposed to hold the same domains<br>
> and records?<br>
<br>
</span>Instead of mucking about with SQL what I would probably do is configure<br>
both servers as masters; then, on each, AXFR each of the zones, and use<br>
Tony Finch's `nsdiff' utility to diff the results.<br>
<br>
If I could only go the SQL way, I'd probably write a script which dumps<br>
the domains and records tables on each (sorted) and diff those; it'll at<br>
least give you an indication on whether there actually are differences.<br>
<br>
-JP<br>
<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div><br></div>