2.13.7.2. Setting up a database connection in Webasyst
Attention!
With host localhost
the connection will not work. The host address must be taken from the data to connect to the database.
Database connection data in Webasyst are specified in configuration files dblist/login.xml
, kernel/wbs.xml
and the cache file temp/scdb/.settings.login
in lines:
SQLSERVER="host" DB_NAME="base_data" DB_PASSWORD="password" DB_USER="login"
In some versions, changes need to be made in the file /wa-config/db.php
in lines:
'host' => 'host', 'user' => 'login', 'password' => 'password', 'database' => 'base_data',
Changes can be made using filemanager or any FTPclient.