1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Location of CMS configuration files
CMS Made Simple :
It is necessary to modify these files when moving your site to a new platform, for instance when launching the website you have developped on your own computer, or during the migration of your website from another hosting company.
Among others, you will find the accesses to the database specified there.
Be mindful to the fact that some CMS parameters can be stored in a database (such as the absolute path of the upload directory for example which may generate include_path errors). In this case the parameters can be modified via the administration interface of your CMS, or more dangerously via phpMyAdmin.
Link to this FAQ: