Settings for the database connection

 

Server, username and password are given in the email "New Account Information".  DB_NAME - is the name, which you gave the DB when created Datebase. 

To change your configure file use FTP connection via any FTP client: File Zilla, Total Commander or File Manager in cPanel.

In Joomla file configuration.php:

 

var $host = 'localhost';
var $user = 'DB_USER';
var $db = 'DB_NAME';
var $password = 'DB_PASSWORD';

 

In WordPress file wp-config.php:

define('DB_NAME');
define('DB_USER');
define('DB_HOST', 'localhost');
define('DB_PASSWORD');

 

In Drupal 6 file /site/default/settings.php, where the line is:

$db_url = 'mysql://username:password@mysqlhost/databasename';

 

 

In Drupal 7 file /site/default/settings.php:

In DLE file /engine/data/dbconfig.php:

 

define ("DBHOST", "localhost");
define ("DBNAME");
define ("DBUSER");
define ("DBPASS");


In Shop-script file /cfg/connect.inc.php 

define('DB_HOST', 'localhost');
define('DB_USER');
define('DB_PASS');
define('DB_NAME');


In ShopCMS file /core/config/connect.inc.php: *


define('DB_HOST', 'localhost');
define('DB_USER');
define('DB_PASS');
define('DB_NAME');

* In some cases you should change these data in these files: core/cache/afcache.php and core/cache/fcache.php  Delete files in the catalogue which begin from %%

 

In WebAsyst files /dblist/логин.xml/kernel/wbs.xml и файл кеша /temp/scdb/.settings.логин:

 

SQLSERVER="localhost"

In PrestaShop file /config/settings.inc.php:

define('DB_HOST', 'localhost');
define('DB_USER');
define('DB_PASS');
define('DB_NAME');


In MODx file /manager/includes/config.inc.php:

In Bitrix file /bitrix/php_interface/dbconn.php:

 

$DBHost = "localhost";

In CMS PHPShop file /phpshop/inc/config.ini:

In СMS Opencart files config.php и admin/config.php

 

define('DB_HOST', 'localhost');
define('DB_USER');
define('DB_PASS');
define('DB_NAME');

In СMS Magento file app/etc/local.xml

<host><![CDATA[localhost]]></host>
<username><![CDATA]></username>
<password><![CDATA]></password>
<dbname><![CDATA]></dbname>

In ImageCMS file application/config/database.php:

$db['default']['hostname'] 
$db['default']['username'] 
$db['default']['password']
$db['default']['database'] 

¿Fue útil la respuesta?

 Imprimir éste Artículo

Leer también

¿Dónde puedo cambiar la contraseña del cPanel?

Puedes hacerlo desde el área de cliente en "Servicios" - "Mis servicios" - "Más información" -...

Change Upload/Download File Size

1. Log into cPanel. Click the Select PHP Version button in the Software section  2. Press...

¿Cómo puedo subir contenido a la web con el cPanel?

El cPanel no permite la carga de archivos de forma simultánea, por eso la mejor opción es subir...

Easy Ways To Speed Up WordPress

At first be sure that you’re not running plugins, that you don’t need and which may make your...

How Can I Edit php.ini Using SSH (putty)?

Connect to the server using SSH. launch Putty. For example, Host Name: host17.sherlockhost.co.uk,...