So we setup our database in step 2, now we will configure the database settings in CodeIgniter.
open the 'database.php' configuration file from system/application/config/ and all we have to edit is 4 lines-line number 40,41,42,43.
$db['default']['hostname'] = "localhost"; //mostly it is localhost so no need to change.That's it. Your CodeIgniter database is now configured!
$db['default']['username'] = "root"; /*the username you set while creating your database. */
$db['default']['password'] = "root";//password you set for your database user.
$db['default']['database'] = "shoutbox";// the database name.
Head to Step 4...
Leave a comment for help !
asdsda
ReplyDeletewow
ReplyDeleteJust testing
ReplyDelete