Actually I'm trying to configure my codeigniter live file to localhost.
I have,
- created a database called test_bs
 - then imported the tables
 - Then change the 
base_urllike$config['base_url']=http://localhost/gu_ci/'; and$config['index_page']='index.php';in config.php And then did a change on database.php,Which contains
$active_group = 'default'; $active_record = TRUE; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'root'; $db['default']['password'] = ' '; $db['default']['database'] = 'test_bs'; $db['default']['dbdriver'] = 'mysql'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = TRUE; $db['default']['cachedir'] = 'application/cache/'; $db['default']['char_set'] = 'utf8'; $db['default']['dbcollat'] = 'utf8_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE;
My .htacess file having:
  RewriteEngine On
  RewriteBase /new_admin/
  RewriteCond %{REQUEST_URI} PIE.htc
  AddType text/x-component .htc
  RewriteRule (.*) static/PIE.htc [L]
  RewriteCond %{REQUEST_URI} !^/new_admin/static/
  RewriteRule (.*)$ index.php [L]
I'm getting the following error:
     A Database Error Occurred
     Unable to connect to your database server using the provided settings.
     Filename: C:\xampp\htdocs\gunify_ci\system\database\DB_driver.php
     Line Number: 124
I have referred Refer1, Refer2,Refer3,Refer4,Refer5 and so on... The last link just display the welcome message like:
But none of the solution helped me!!
Guide me to solve this!!