i can't connect to my databse

#1
[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 ...

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.