CodeIgniter Forums
i can't connect to my databse - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: i can't connect to my databse (/showthread.php?tid=7720)



i can't connect to my databse - El Forum - 04-20-2008

[eluser]Unknown[/eluser]
help! im new pretty new in using codeIgniter.. iv followed the instruction and installed the whole thing. unfortunately, i can't connect to the database .. im using postgre .. this is how my database.php looks like:


$active_group = "default";

$db['default']['hostname'] = "192.168.1.254";
$db['default']['username'] = "elisha";
$db['default']['password'] = "elisha1104";
$db['default']['database'] = "test";
$db['default']['dbdriver'] = "postgre";
$db['default']['dbprefix'] = "";
$db['default']['active_r'] = TRUE;
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";



?>

and autoload.php already contain this line:

$autoload['core'] = array('database');

im really new at this.. in fact i have just recently learned how to program.. but i had to do this project for our major so i have to learn quick ...


i can't connect to my databse - El Forum - 04-20-2008

[eluser]wiredesignz[/eluser]
Answered in your other thread with the same title.