Home Guides Glossary

What are the connection strings for my application's database?

The following list contains connection strings for many popular program databases. If your program is not listed, contact the program's manufacturer.

You will have to obtain these files referenced below by FTPing into your hosting account and into the application's directories. For more information on this, see your application's manufacturer's website.

To find your hostname, see What do I use for a host name when creating a database?

4Images

Edit the config.php file. You will need to update the following line with the name of the new database server.

$db_host = "youroldhostname";

Aardvark Topsites

Edit the settings_sql.php file. You will need to update the following line with the name of the new database server.

$CONF['sql_host'] = 'youroldhostname';

Advanced Guestbook

Edit the admin/config.inc.php file. You will need to update the following line with the name of the new database server.

$GB_DB["host"] = "youroldhostname";

Advanced Poll

Edit the db/include/config.inc.php file. You will need to update the following line with the name of the new database server.

$POLLDB["host"] = "youroldhostname";

anyInventory

Edit the globals.php file. You will need to update the following line with the name of the new database server.

$db_host = "youroldhostname";

BidWare

Edit the configuration/configure.inc.php file. You will need to update the following line with the name of the new database server.

$bidwareTsohbD = 'youroldhostname';

BlogEngine.NET

Edit the web.config file. You will need to update the following line with the name of the new database server.

<add name="BlogEngine" connectionString="Data Source=youroldhostname;User ID=DBUser;Password=DBPassword;persist security info=False;initial catalog=DBName;" providerName="System.Data.SqlClient"/>

Brim

Edit the framework/configuration/databaseConfiguration.php file. You will need to update the following line with the name of the new database server.

$host = 'youroldhostname';

Community Server

Edit the connectionStrings.config file. You will need to update the following line with the name of the new database server.

<add name="SiteSqlServer" connectionString="server=youroldservername;uid=DBUser;pwd='DBPassword';database=DBName"/>

Coppermine

Edit the include/config.inc.php file. You will need to update the following line with the name of the new database server.

$CONFIG['dbserver'] = 'youroldhostname’;

DotNetNuke

Edit the web.config file. You will need to update the following line with the name of the new database server.

connectionString="Server=youroldhostname;Database=DBName;uid=DBUser;pwd=DBPass;"

dotProject

Edit the includes/config.php file. You will need to update the following line with the name of the new database server.

$dPconfig['dbhost'] = 'youroldhostname';

connectionString="Server=youroldhostname;Database=DBName;uid=DBUser;pwd=DBPass;"

Drupal

To update Drupal connection strings, follow the instructions listed in INSTALL.txt.

Gallery

Edit the config.php file. You will need to update the following line with the name of the new database server.

$storeConfig['hostname'] = 'youroldhostname’;

Geeklog

Edit the db-config.php file. You will need to update the following line with the name of the new database server.

$_DB_host = 'youroldhostname';

Joomla

Edit the configuration.php file. You will need to update the following line with the name of the new database server.

var $host = 'youroldhostname';

Lifetype

Edit the config/config.properties.php file. You will need to update the following line with the name of the new database server.

$config['db_host'] = 'youroldhostname';

MODx

Edit the includes/config.inc.php file. You will need to update the following line with the name of the new database server.

$database_server = 'youroldhostname';

Mambo

Edit the configuration.php file. You will need to update the following line with the name of the new database server.

$mosConfig_host = 'youroldhostname';

Mantis

Edit the config_inc.php file. You will need to update the following line with the name of the new database server.

$g_hostname = "youroldhostname";

MediaWiki

Edit the LocalSettings.php and config/LocalSettings.php files. You will need to update the following line with the name of the new database server. $wgDBserver = "youroldhostname";

Moodle

Edit the config.php file. You will need to update the following line with the name of the new database server.

$CFG->dbhost = 'youroldhostname';

Noah’s Classifieds

Edit the app/config.php file. You will need to update the following line with the name of the new database server.

$hostName="youroldhostname";

Nucleus

Edit the config.php file. You will need to update the following line with the name of the new database server.

$MYSQL_HOST = 'youroldhostname';

OSCommerce

Edit the includes/configure.php and admin/includes/configure.php files. You will need to update the following line with the name of the new database server.

define('DB_SERVER', 'youroldhostname');

OpenDB

Edit the include/local.config.php file. You will need to update the following line with the name of the new database server.

'host'=>'youroldhostname', //OpenDb database host

OpenX

Edit the var/yoursitename.com.conf.php file. You will need to update the following line with the name of the new database server.

host="youroldhostname"

OrangeHRM

Edit the lib/confs/Conf.php file. You will need to update the following line with the name of the new database server.

$this->dbhost = 'youroldhostname';

paFileDB

Edit the includes/config.php file. You will need to update the following line with the name of the new database server.

$dbServer = "youroldhostname";

PHCDownload

Edit the include/config.ini.php file. You will need to update the following line with the name of the new database server.

$config['db_server'] = "youroldservername";

PHPOpenChat

Edit the config.inc.php file. You will need to update the following line with the name of the new database server.

define('DATABASE_HOST', 'youroldhostname');

PHProjekt

Edit the config.inc.php file. You will need to update the following line with the name of the new database server.

define('PHPR_DB_HOST', 'youroldhostname');

PhpBB

Edit the config.php file. You will need to update the following line with the name of the new database server.

$dbhost = 'youroldhostname’;

phpCollab

Edit the includes/settings.php file. You will need to update the following line with the name of the new database server.

define('MYSERVER', 'youroldhostname');

phpMyFAQ

Edit the inc/data.php file. You will need to update the following line with the name of the new database server.

$DB["server"] = 'youroldhostname';

phpmyvisits

Edit the config/config.php file. You will need to update the following line with the name of the new database server.

'db_host' => 'youroldhostname',

Pinnacle Cart

Edit the content/engine/engine_config.php file. You will need to update the following line with the name of the new database server.

define('DB_HOST', 'youroldhostname');

PostNuke

Edit the config.php file. You will need to update the following line with the name of the new database server.

$pnconfig['dbhost'] = 'youroldhostname';

reBlog

Edit the config.php file. You will need to update the following line with the name of the new database server.

define('REF_DB_HOST', "youroldhostname");

Serendipity

Edit the serendipity_config_local.inc.php file. You will need to update the following line with the name of the new database server.

$serendipity['dbHost'] = 'youroldhostname';

SilverStripe

Edit the tutorial/_config.php file. You will need to update the following line with the name of the new database server.

"server" => "youroldhostname",

Simple Machine Forum

Edit the Settings.php file. You will need to update the following line with the name of the new database server.

$db_server = 'youroldhostname';

Vanilla Forum

Edit the conf/database.php file. You will need to update the following line with the name of the new database server.

$Configuration['DATABASE_HOST'] = 'youroldhostname’;

WebCalendar

Edit the includes/settings.php file. You will need to update the following line with the name of the new database server.

db_host: youroldhostname

WordPress

Edit the wp-config.php file. You will need to update the following line with the name of the new database server.

define('DB_HOST', 'youroldhostname');

Xoops

Edit the mainfile.php file. You will need to update the following line with the name of the new database server.

define( 'XOOPS_DB_HOST', 'youroldhostname' );

YetAnotherForum

Edit the yafnet.config file. You will need to update the following line with the name of the new database server.

<connstr>user id=DBUser;pwd=DBPassword;data source=youroldhostname;initial catalog=DBName;timeout=90</connstr>

Zen Cart

Edit the includes/configure.php and admin/includes/configure.php files. You will need to update the following line with the name of the new database server.

define('DB_SERVER', 'youroldhostname’);

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy