The thing is, both tables (reports and yetAnotherTable) exist with the same structure in both databases and both contain data.mysqldiff --host 192.168.1.10 --user=dbuser --password=dbpass db1 db2 + > diff.sql DROP TABLE IF EXISTS `reports`; CREATE TABLE `reports` ( `ID` int(6) unsigned NOT NULL auto_increment, `name` varchar(128) NOT NULL default '', PRIMARY KEY (`ID`) ) TYPE=MyISAM; DROP TABLE IF EXISTS `yetAnotherTable` table ``yetAnotherTable`' had trailing garbage: /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
In reply to MySQL-Diff drops existing tables? by jbrugger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |