Hi all, I've been trying to connect to a local PostgreSQL server using Pear, but I could not succeed: Here is the connect string: $dsn = "pgsql://$username:$password@tcp($hostname:$port)/$dbname"; And all the variables seems to be ok when I print $dsn. However, I get the following error: "DB Error: connect failed" What should I do to correct this? Best regards. -- Devrim GUNDUZ devrim@xxxxxxxxxxxxxxxx Tel : (312) 295 9318 devrim.gunduz@xxxxxxxxxxxx Faks : (312) 295 9494 Web : http://devrim.oper.metu.edu.tr ------------------------------------