Welcome Guest, Not a member yet? Register   Sign In
CI 1.6 with Postgres 8.2 database connection problem
#2

[eluser]Seppo[/eluser]
Can you connect if you create a new PHP file, outside CI?
Something like this
Code:
<?php
$connection = pg_pconnect("host=localhost port=5432 dbname=mydb user=user password=password");
echo is_resource($connection) ? 'Success' : 'Fail';
?>

(trying to see if it's a CI issue or a PHP-postgre thing.


Messages In This Thread
CI 1.6 with Postgres 8.2 database connection problem - by El Forum - 02-10-2008, 08:48 PM
CI 1.6 with Postgres 8.2 database connection problem - by El Forum - 02-10-2008, 08:53 PM
CI 1.6 with Postgres 8.2 database connection problem - by El Forum - 02-10-2008, 09:11 PM
CI 1.6 with Postgres 8.2 database connection problem - by El Forum - 02-10-2008, 09:15 PM
CI 1.6 with Postgres 8.2 database connection problem - by El Forum - 02-10-2008, 09:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB