Postgresql port configuration
Posted: Wed Jan 16, 2008 7:17 pm
Hello,
I am trying to get s9y to connect to Postgresql on a port other than 5432, but when I try and enter, for example, "localhost:5433" in the database settings, I get the following error:
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not translate host name "localhost:5433" to address: Name or service not known in /var/www/s9y/include/db/postgres.inc.php on line 64
serendipity error: unable to connect to database - exiting.
Is there any other way of doing this?
Thanks a lot!
I am trying to get s9y to connect to Postgresql on a port other than 5432, but when I try and enter, for example, "localhost:5433" in the database settings, I get the following error:
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not translate host name "localhost:5433" to address: Name or service not known in /var/www/s9y/include/db/postgres.inc.php on line 64
serendipity error: unable to connect to database - exiting.
Is there any other way of doing this?
Thanks a lot!