Book Image

concrete5 Beginner's Guide

Book Image

concrete5 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
concrete5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – updating the configuration file


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 taking the following steps:

  1. Open config/site.php and locate each of the following parameters.

  2. DB_SERVER: this parameter has the value localhost, 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.

  3. DB_USERNAME: this parameter has very likely changed; enter the username you want to use to access your MySQL database.

  4. DB_PASSWORD: another parameter which has probably changed; replace it with the new password to access your MySQL database.

  5. 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.

  6. BASE_URL: concrete5 redirects you to the base URL by default. As the website isn't...