自从我把我的系统升级到20.04,mysqldiff就不见了。我找到了这个软件包:https://manpages.ubuntu.com/manpages/focal/en/man1/mysqldiff.1.html,但是如果我试图用apt安装它,它就找不到了。module for comparing the table structure of two MySQL databases
我还试图安装libmysql-diff-perl (可能和以前一样),但是没有mysqldiff
我有N个数据库:1个在开发中,一个在生产中,超过50个领域.是否有一种同步结构的方法:例如,如果不存在新字段,就添加这些字段?(增量更新的链接?)如果我删除表并创建,我也会丢失数据。insert into newTable select * from oldTable; // error different number of fields in structure