Changing Database configuration in magento site

Sometimes in order to move our site from one server to another server we are required to change database configuration as per new server. Although when you install fresh magento on your server it will ask for your database details from you and you don’t need to make any changes directly on your magento. But(…)