P
P
Puma Thailand2012-11-24 16:29:02
MySQL
Puma Thailand, 2012-11-24 16:29:02

What are some free tools for comparing mysql database structures?

There are two databases from different versions of the engines, I want to see what changes have been made to the structure of the new database, tables with 500 pieces, manually it is very hemorrhagic.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Andrey Shiryaev, 2012-11-24
@Claud

dbForge Studio for MySQL is a great program with a lot of features, including schema comparison. Free.

N
niko83, 2012-11-24
@niko83

You can try to do mysqldump --no-data for two databases
and vimdiff db1.sql db2.sql

L
LastDragon, 2012-11-24
@LastDragon

Mysql Workbench (http://www.mysql.com/products/workbench/) can be tried, especially if you need a sql script to change the structure of the old database. If not needed, then it's easier, as niko83 said , to make dumps and compare them.

3
321, 2012-11-24
@321

I advise you to use the mysqldiff utility .
Instruction.

M
maxidler, 2012-12-03
@maxidler

You can pull the code from here: github.com/idler/MMP/blob/master/lib/dbDiff.class.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question