CodeIgniter Forums

Full Version: Error when accessing website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

i am getting this error

A Database Error Occurred  Unable to select the specified database:cxcxcxc  Filename: C:\wamp\www\xyx\system\database\DB_driver.php  Line Number: 140

Can anybody help me ?

El Forum

The error is self explanatory.

The database "cxcxcxc" doesn't exist.

El Forum

No, Actually it does it was working fine some time back now it is giving me this error

El Forum

Check your database settings then, there must be something wrong with your settings.

El Forum

My database file is setup like this

$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'cxcxcxc';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;