Setting up a database connection in Shop-Script


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 Shop-Script are specified in the configuration file cfg/connect.inc.php in lines:

define('DB_HOST', 'host');
define('DB_USER', 'login');
define('DB_PASS', 'password');
define('DB_NAME', 'base_data');

Changes can be made using filemanager or any FTPclient.