Solved

MySql: difference between 2 databases

Posted on 2013-01-15
4
355 Views
Last Modified: 2013-01-23
Hello,

We constantly develop our development database which need to be synchronized from time to time with the databases of different customers.

I need queries for the followings:

- the table names found in database "A"  but not existing in database "B"

- the table names.field names found in database "A"  but not existing in database "B"

(in other words the new field names which exist in "A", but not in "B")

- the stored procedure names found in database "A"  but not existing in database "B"

Thank you
0
Comment
Question by:starhu
  • 3
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38778485
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 38778488
0
 

Author Comment

by:starhu
ID: 38792404
Thank you for the answers.

The problem is that I have many customers and it would be very time consuming to install a software on each computer.

Isn't there a portable version, or just some Mysql code which puts the differences is a table?

Thank you
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38792411
not really. though you can check the table listing (SHOW TABLES http://dev.mysql.com/doc/refman/5.0/en/show-tables.html), it will require some coding to implement the "updating" into the application.
but it looks like what you need to do ...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question