How to change Magento DataBase configuration file?

How to change Magento DataBase configuration file?

If you want to chang the Magento DataBase name, location or simple changed your username or password, please follow below information into the file:
/app/etc/local.xml

May be line number 43.

  <host><![CDATA[Your_Domain_name/Or_host_name]]></host>
<username><![CDATA[Your_user_name]]></username>
<password><![CDATA[Your_password]]></password>
<dbname><![CDATA[Your_Database_Name]]></dbname>

Hope it will work., Have nice day.