2.14.4.2. Configure database connection in MODX

Attention!

The connection will not work with the localhost host. The host address must be taken from the database connection credentials.

Database connection details in MODX are specified in the configuration file manager/includes/config.inc.php in the following lines:

$database_server = 'host';
$database_user = 'login';
$database_password = 'password';
$dbase = 'database’;

In some versions, such as the Revolution branch, these changes must be made in the file core/config/config.inc.php.

Changes can be made using the file manager or any FTP client.

Content