2.13.3.2. Setting up a connection to a database in Bitrix
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 Bitrix are specified in the configuration file bitrix/php_interface/dbconn.php
in lines:
$DBHost = "host"; $DBLogin = "login"; $DBPassword = "password"; $DBName = "base_data";
And also in the file bitrix/.settings.php
in lines:
'host' => 'host', 'database' => 'base_data', 'login' => 'login', 'password' => 'password',
Changes can be made using filemanager or any FTPclient.