Data to connect to the database in MODX are specified in the config file manager/includes/config.inc.php
in lines:
$database_server = 'host'; $database_user = 'login'; $database_password = 'password'; $dbase = 'base_data’;
In some versions, for example, in the Revolution branch, these changes must be made in the file core/config/config.inc.php
.
Changes can be made using file manager or any FTP client.