Hello Guys,
If you are looking set database configuration in Codelgniter. Please follow the below step for the same::
1) Open the file application/config/database.php and complete the below information:
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'test';
This will set your database configration in Codelgniter.
Let me know if anyone have any question or issue regarding this.
0 Comment(s)