I was looking for to create a developers database by copying our main one and came accross a tutorial about moving all databases to another server...
Moving Data Directly Between Databases
How would you like to replicate your present database to a new location? When you are shifting web hosts or database servers, you can directly copy data to the new database without having to create a database backup on your machine and restoring the same on the new server. mysql allows you to connect to a remote database server to run sql commands. Using this feature, we can pipe the output from mysqldump and ask mysql to connect to the remote database server to populate the new database. Let's say we want to recreate the Customers database on a new database server located at 18.104.22.168, we can run the following set of commands to replicate the present database at the new server.
This uses one line of code (not shown here), couldn't this cause problems if say an disgruntled employee or former programmer were fired!
Knowing that it takes up to a week for papers to be processed and employees to be removed from a system seems like if they had developer priviledges they could steal or move every database you have in the blink of an eye and you wouldn't know it! Take a place like amazon.com one developer could easily copy every database, client & employee name, address, email addresses, credit card numbers etc. without anyone knowing. Or am I wrong as to how this works?