DB pgsql dsn
| From: | Eduardo Gargiulo | Date: | Tue, 23 Nov 2004 14:57:08 +0000 |
| Subject: | DB pgsql dsn | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15770@lists.php.net to get a copy of this message | ||
I've changed pgsql application access from tcp to unix socket. I'm trying a
dsn like this
pgsql://user:password@(/var/run/postgresql/.s.PGSQL.5432)/dbname
and
pgsql://user:password@unix(/var/run/postgresql/.s.PGSQL.5432)/dbname
but the system never reaches the database. Is there any problem with the dsn
syntax? I've copied the socket definition from netstat command output and I
can connect to the databse from command line without problems.
Any help would be appreciated.
--ejg
PS: there are no problems using tcp