Hi guys
Hoster has upgraded in preparation for a move from EE1.7 to EE2.2 and this message keeps showing when pointed to the new database (the old one is still available too):
Database Error: Unable to connect to your database. Your database appears to be turned off or the database connection settings in your config file are not correct. Please contact your hosting provider if the problem persists.
The IP provider agrees that the config.php appears to be correct and the database shows if they attempt a direct connection using the IP address instead of the hostname.
Is there something other than the config.php that needs adjustment? path.php maybe?
Many thanks. Pete
**************
1) config.php
<?php
if ( ! defined('EXT')){
exit('Invalid file request');
}
$conf['app_version'] = "169";
$conf['license_number'] = "1529-4292-6797-4536";
$conf['debug'] = "1";
$conf['install_lock'] = "1";
// $conf['db_hostname'] = "MySQLC8.webcontrolcenter.com";
$conf['db_hostname'] = "75.103.64.201";
$conf['db_username'] = "xxxx";
$conf['db_password'] = "xxxx";
$conf['db_name'] = "grdb";
$conf['db_type'] = "mysql";
$conf['db_prefix'] = "exp";
$conf['db_conntype'] = "0";
$conf['system_folder'] = "system";
$conf['cp_url'] = "http://galaxyrising.com/ee/system/index.php";
$conf['doc_url'] = "http://www.pmachine.com/expressionengine/docs/";
$conf['db_cache_refresh'] = "30";
$conf['is_system_on'] = "y";
$conf['cp_image_path'] = "http://galaxyrising.com/ee/images/cp_images/";
$conf['member_images'] = "http://galaxyrising.com/ee/images/member_images/";
$conf['enable_js_calendar'] = "y";
$conf['calendar_thumb_path'] = "http://galaxyrising.com/ee/images/cp_images/calendar.gif";
$conf['allow_extensions'] = "n";
$conf['multiple_sites_enabled'] = "n";
$conf['cookie_prefix'] = "";
?>2) path.php
<?php
// ------------------------------------------------------
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
// ------------------------------------------------------
// Path to the directory containing your backend files
$system_path = "./system/";
// ------------------------------------------------------
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
// ------------------------------------------------------
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
$site_404 = "";
$global_vars = array(); // This array must be associative
?>