To access the data we need to set up the database connectivity.
"database.php" file
$db['default']['hostname']='localhost'; //the hostname of your database server
$db['default']['username']='dhxconnector'; //the username used to connect to DB
$db['default']['password']='dhxconnector'; //the password used to connect to DB
$db['default']['database']='dhxconnector'; //the name of DB you want to connect to