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(at)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(at)oper(dot)metu(dot)edu(dot)tr Tel : (312) 295 9318
devrim(dot)gunduz(at)linux(dot)org(dot)tr Faks : (312) 295 9494
Web : http://devrim.oper.metu.edu.tr
------------------------------------