Why this error in codeigniter :A Database Error Occurred Unable to select the specified database:

By | January 16, 2015

A Database Error Occurred Unable to select the specified database:
Filename: ..system\database\DB_driver.php

An Error Was Encountered

Answer:

Ususally this error is showing becuase of configuration table.please check the database.php inside the config folder.edit the mysql credentials.