mysqldump --skip-comments --skip-extended-insert -u root -p database1>file1.sql
mysqldump --skip-comments --skip-extended-insert -u root -p database2>file2.sql
diff file1.sql file2.sql
其实还有一些比较工具,推荐一个
mysql-comparison-tools
: select max(date) from ( select max(date) date from A unoin all select max(date) date from B ) a欢迎分享,转载请注明来源:内存溢出
评论列表(0条)