Re: [ADMIN] can't create db from PHP

2004-01-16 Thread Tom Lane
Enrico Ortmann <[EMAIL PROTECTED]> writes: > But when I connect using the IP-adress instead of the alias > $conn = @pg_pconnect("host=192.168.0.200 port=5432 user=postgres dbname=template1"); > the handle is valid as well, but then if I want to create the database I got the > error > ERROR: CREAT

[ADMIN] can't create db from PHP

2004-01-16 Thread Enrico Ortmann
Hello admins, I got a strange problem while creating a database FROM PHP: I connect from SuSE shell via php to a PG-server [7.3.2] using command $conn = @pg_pconnect("host=db port=5432 user=postgres dbname=template1"); [db is an Alias in /etc/hosts an points to 192.168.0.200] Then I create a data