[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

MySql: difference between 2 databases

Posted on 2013-01-15
4
Medium Priority
?
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

650 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