[eluser]Ninjabear[/eluser]
Sorry if this has been covered before, I've searched the forums but I can't find the answer.
I've added my database and can connect via Navicat successfully, but for some reason I keep getting the error,
"A Database Error Occurred Unable to connect to your database server using the provided settings.".
I think my credentials are correct so is there anything else I need to do? I have done the following:
--Database.php--
$active_group = "live";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "pass";
$db['default']['database'] = "blog";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
$db['live']['hostname'] = "localhost";
$db['live']['username'] = "uname";
$db['live']['password'] = "pass";
$db['live']['database'] = "mydb";
$db['live']['dbdriver'] = "mysql";
$db['live']['dbprefix'] = "";
$db['live']['pconnect'] = TRUE;
$db['live']['db_debug'] = TRUE;
$db['live']['cache_on'] = FALSE;
$db['live']['cachedir'] = "";
$db['live']['char_set'] = "utf8";
$db['live']['dbcollat'] = "utf8_general_ci";
--Autoload--
$autoload['libraries'] = array('session','database','form_validation');
//$autoload['core']=array('database');
--Config.php--
$config['base_url'] = "http://www.danielsportfolio.co.uk/codeigniter/";