title: How to rename the Node running a mnesia Database
body: <p>I created a Mnesia database / Schema on machine1. The node was named mypl@machine1. I then moved all files to machine2, because machine1 broke down. Everything runs fine as long as the code is running with the name "mypl@machine1". Obviously this is somewhat confugsing, because it is now running on machine2.</p>
  
  <p>If I start Erlang with the node name "mypl@machine2" the Mnesia Database appears being empty.</p>
  
  <p>How do I rename the node in a Mnesia Database from machine1 to machine2?</p>