Solved

MySql: difference between 2 databases

Posted on 2013-01-15
4
352 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]
Comment Utility
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
Comment Utility
0
 

Author Comment

by:starhu
Comment Utility
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]
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Creating and Managing Databases with phpMyAdmin in cPanel.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now