PrestaShop Change Database Name

To change database name, user name and password on PrestaShop 1.7 or later, edit file

Once this is done, you need to login to PrestaShop backend and clear cache.

How to Clear Cache in PrestaShop

For older versions, edit

See PrestaShop