Date: 03/17/05 (PHP Community) Keywords: database, sql, postgresql I'm trying to connect to a PostgreSQL database on a system that only allows unix socket connections. The DNS I'm trying is below, but no joy so far. I've verified that I can connect to the database on the commandline with 'psql'. $db = DB::connect('pgsql://username:password@unix(/tmp/.s.PGSQL.5432)/database'); Source: http://www.livejournal.com/community/php/274389.html
|