The URL to access your website changed and so did probably the username and password to access the MySQL database. We have to update the configuration file to match the new values by performing the following steps:
Open
config/site.php
and locate each of the following parameters.DB_SERVER
: This parameter has the valuelocalhost
, which quite likely will work on your new server as well. Check your hosting information to be sure and modify the value according to your information.DB_USERNAME
: This parameter has very likely changed; enter the username you want to use to access your MySQL database.DB_PASSWORD
: Another parameter that has probably changed; replace it with the new password to access your MySQL database.DB_DATABASE
: Another parameter you might have to change. Enter the name of the new database where you've imported the MySQL dump in the previous section.