[PHP-DB] PostgreSQL connection problem #2

2001-11-18 Thread Laukó Péter
Hi, I could solve part of the problem by creating a user and database called 'www-data'. The new question is how can I connect to an arbitrary database? (This seems to be a configuration problem for me.) Since I have more sites on the same server, I really need more db-s. My previous letter was:

[PHP-DB] PostgreSQL connection problem

2001-11-16 Thread Laukó Péter
Hi, I try to connect to a PostgreSQL database from my php script, and I get the following error: Warning: Unable to connect to PostgreSQL server: FATAL 1: Database "www-data" does not exist in the system catalog. in /home/lao/proj/hajnalcsillag/www/classes/DBConnection.php on line 10 The code i