From: Jeff D. <da...@da...> - 2002-01-17 19:38:41
|
Tim Bogart said: > //'dsn' => 'mysql://guest@:/var/lib/mysql/mysql.sock/test', > //'dsn' => 'mysql://guest@localhost/test', > 'dsn' => 'pgsql -h 166.32.201.228 -W wiki tim', "What we have heah ... is a FAILyuh to comMUNicate..." Psql (not pgsql) is a command-line utility which can be used to talk to a postgres database. I was suggesting using it as a sanity check to make sure your database/server is set up correctly. (If possible,) log in to the machine your HTTP server is running on, then at a shell prompt try the suggested command. (Also 'man psql' for more info.) (Your original DSN in index.php looked okay, so put that back the way it was.) Sorry for the confusion. |