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']='root'; // the username used to connect to DB
$db['default']['password']='root'; // the password used to connect to DB
$db['default']['database']='dhtmlx_samples'; // the name of DB you want to connect to