I have multiple mySQL databases. One database is the main database and the others just mimic the same one but have different data. In other words, all the databases have the same tables and table structure but different data in the tables.
The problem is that whenever I make a change to the main database, I have to change the others too because all the databases use the same PHP scripts.
Is there a way to have all the databases update automatically whenever I change the main database? Just like how changing PHP include files affect all scripts using them, I'm wondering if there's a way to automatically update all databases at the same time after making changes to the main one.