Setting up connection to the database in MODx cms

In MODx cms connection to the database is configured in the /manager/includes/config.inc.php file

Open this file and find the following code.

$database_server = 'server';

$database_user = 'username';

$database_password = 'password';

$dbase = 'database_name’;