I have a SuSE 9.3 system with a postgres database and a php web app that connects to the
datbase. This works fine.
I also have SuSE 10.3 but cannot get php to connect to the database.
postgres (PostgreSQL) 8.0.13
PHP 5.2.6 with Suhosin-Patch 0.9.6.2
postgres (PostgreSQL) 8.2.6
Both have identical pg_hba.conf files.
Database was transferred as recommended using
"pg_dumpall -f > SAVE" as user postgres on 9.3 system
"psql template1 -f SAVE" as user postgres on 10.3 system
The php code that is failing is:
$cstring="dbname=$db_name host=localhost user=$user
or die("Could not connect to postgresql database $db_name");
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse+help(a)opensuse.org