Solved

MySql: difference between 2 databases

Posted on 2013-01-15
4
357 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 143

Expert Comment

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

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 143

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mysql sync between 3-4 mysql db 4 47
Determining creation & modification dates on MySQL tables 4 50
mysql ide 10 48
MySQL stored procedure returning null values 4 27
All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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