mysql 数据库结构对比工具 java 1.配置好两个数据库的账号密码数据库名称等信息 DbComparator db1 = new DbComparator("ip", null, "user", "password", "dbname", "47" ); DbComparator db2 = new DbComparator("ip", null, "user", "password", "dbname", "test" ); 2.调用 compare 方法 获取对比结果 ,(