i need good open source tool for comparing two databases schema in Mysql
A:
Export everything into a .sql file (those are pure text)
Then use a normal text diff program like kdiff3, meld or kompare.
Johan
2009-06-10 06:52:31
This kind of diff'ing is completely incomprehensible. I know this from experience.
tarasm
2009-12-03 15:14:08
depends, sometimes it is useful some it's not... I prefer to have as many tools as possible in my toolbox thou...
Johan
2009-12-03 20:35:19
+4
A:
You can use mysqldump
with the --no-data
option, save the output to a file for each DB, then diff the output using your preferred text diff tool.
Other options:
Pete TerMaat
2009-06-10 06:53:55
+1
A:
UPDATE:
Here's how you do diff with liquibase: http://liquibase.org/manual/diff
artemb
2009-06-10 07:04:27
A:
Try mysql-diff: http://bitbucket.org/stepancheg/mysql-diff/ . It is command-line, and it can extract schema info from database or from SQL script file.
stepancheg
2009-09-13 13:23:03