18.104.22.168. Setting up a database connection in MODX
Warning!The connection will not work with localhost. The host address must be taken from the data to connect to the database.
Database connection data 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