When you change the web hosting platform or when you migrate website from your local computer to web hosting sometimes it is necessary to held the configuration files for the CMS. Here are the CMS settings and configure access to your website database. You may need to change the DB name, username of database and password of the database user, the name of the database server after the website transfer.

CMS WordPress, file: wp-config.php, placed: Website root directory

 define('DB_NAME', 'database_name');
 define('DB_USER', 'user_name');
 define('DB_HOST', 'server');
 define('DB_PASSWORD', 'password');

CMS Joomla, file: configuration.php, placed: Website root directory

 var $host = 'server';
 var $user = 'user_name';
 var $db = 'database_name';
 var $password = 'password';

CMS Drupal, file: settings.php, placed: Website root directory /sites/default/

 'database' => 'database_name',
 'username' => 'user_name',
 'password' => 'password',
 'host' => 'server',

CMS DLE, file: dbconfig.php, placed: Website root directory /engine/data/

 define ("DBHOST", "server");
 define ("DBNAME", "database_name");
 define ("DBUSER", "user_name");
 define ("DBPASS", "password");

CMS Shop-script, file: connect.inc.php, placed: Website root directory /cfg/

 define('DB_HOST', 'server');
 define('DB_USER', 'user_name');
 define('DB_PASS', 'password');
 define('DB_NAME', 'database_name');

CMS ShopCMS, file: connect.inc.php, placed: Website root directory /core/config/

 define('DB_HOST', 'server');
 define('DB_USER', 'user_name');
 define('DB_PASS', 'password');
 define('DB_NAME', 'database_name');

CMS WebAsyst, file: login.xml, wbs.xml, .settings.login, placed: Website root directory/dblist/, Website root directory/kernel/, Website root directory/temp/scdb/

 SQLSERVER="server"
 DB_NAME="database_name"
 DB_PASSWORD="password"
 DB_USER="user_name"

CMS PrestaShop, file: settings.inc.php, placed: Website root directory /config/

 define('_DB_NAME_', 'database_name');
 define('_DB_SERVER_', 'server');
 define('_DB_USER_', 'user_name);
 define('_DB_PASSWD_', 'password');

CMS MODx, file: config.inc.php, placed: Website root directory /manager/includes/

 $database_server = 'server';
 $database_user = 'database_user';
 $database_password = 'password';
 $dbase = 'database_name';

CMS MODx Evo, file: config.inc.php, placed: Website root directory /core/config/

 $database_server = 'server';
 $database_user = 'user_name';
 $database_password = 'password';
 $dbase = '`database_name`';

CMS Bitrix, file: dbconn.php, placed: Website root directory /bitrix/php_interface/

 $DBHost = "server";
 $DBLogin = "user_name";
 $DBPassword = "password";
 $DBName = "database_name";

CMS CMS PHPShop, file: config.ini, placed: Website root directory /phpshop/inc/

 host = "server";
 user_db = "user_name";
 pass_db = "password";
 dbase = "database_name";

CMS СMS Opencart, file: config.php, placed: Website root directory and Website root directory/admin/

 define('DB_HOSTNAME', 'server');
 define('DB_USERNAME', 'user_name');
 define('DB_PASSWORD', 'password');
 define('DB_DATABASE', 'database_name');

CMS vBulletin, file: config.php, placed: Website root directory /includes/config.php

 $config['MasterServer']['servername'] = 'server';
 $config['MasterServer']['username'] = 'user_name';
 $config['MasterServer']['password'] = 'password';
 $config['Database']['dbname'] = 'database_name';