1 (edited by pgregg 2004-05-15 01:24)

Topic: Installation using Postgres _without_ tcpip

Hi,

The install.php script doesn't let you install without a hostname entry.  This means you can't use the "default" postgres access and have to turn on tcp sockets and expose the database to a socket.

Anyway this can be fixed to allow the more "normal" socket file access that is used to access databases (both pgsql and mysql) running on the same host?

Thanks,

Paul.

PS. I should add, this is the latest code - downloaded today.

Re: Installation using Postgres _without_ tcpip

It was my belief that it worked like MySQL. If the hostname you enter is local (i.e. on the same computer), it will use UNIX sockets, otherwise it will use TCP/IP. However, TCP/IP connections are disabled by default, so I can't really see how it would do that.

tcpip_socket (boolean)
If this is true, then the server will accept TCP/IP connections. Otherwise only local Unix domain socket connections are accepted. It is off by default. This option can only be set at server start.

"Programming is like sex: one mistake and you have to support it for the rest of your life."