cgriffith4
asked on
3 different MySQL databases into 1
I have 3 different MySQL servers all containing different information. There are some custom reports we would like to generate daily which we currently spend about an hour a day doing manually. If we had all the tables needed all located in the same database we could fully automate what we need to do saving us an hour of day of time.
The plan is to have cron dump the database tables from all 3 servers and scp them to a new server we are going to use just for reporting. Can someone show me the best way dump just certain database tables then merge all the tables into a new database?
The plan is to have cron dump the database tables from all 3 servers and scp them to a new server we are going to use just for reporting. Can someone show me the best way dump just certain database tables then merge all the tables into a new database?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
All my servers are local. How would I do this in perl?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could script this using perl from a system that can query each server as well as have a local server.
You could also have the data replicated among the servers.