This is inspired by ExpressionEngine but not actually a question about it. I think web servers are demons put on this earth to torment developers, which is why this question has been vexing me.
One of my clients has a Linux Dedicated Server with GoDaddy where they host their development sites and all of their ExpressionEngine sites. Their lead developer was explaining to me how to move a site from the dev part of the server to the live part (where a new domain had been created). He said I should create a new database (including new username and password) through the new domain, then export the development DB and import it to the live DB.
But what I noticed is when I went into PhpMyAdmin, both databases appeared anyway and could be accessed using the administrative username and password. So my question is, why should I even bother creating a new database, username, and password when I move an EE site live if none of the original database info changes?