"No such host is known" problems with PostgresQLDirect 2.0
Posted: Thu 17 Feb 2005 23:55
Hello !
This works beatifully with the version that comes with Delphi 8.
PgSqlConnection1:=PgSqlConnection.Create ('User=testing;Database=testing;');
PgSqlConnection1.Open;
But gives the following error message in the New 2.0 version. I'm running mono 1.05 and apache 2.052
Error Message: HTTP 500.
Stack Trace: CoreLab.PostgreSql.PgSqlException: No such host is known
in CoreLab.PostgreSql.l:w ()
in CoreLab.PostgreSql.l:a (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionInternal:d (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionFactory:a (CoreLab.Common.DbConnectionBase)
in CoreLab.Common.DbConnectionClosed:Open (CoreLab.Common.DbConnectionBase)
I tried putting the host name (127.0.0.1 and 'localhost') in the connect string but it does not work. We are seriously considering buying this for our development, but basic things like this NOT working is scaring us.
Any ideas ?
Also, in Delhi half of the components show a version of 1.10.3.0 while the other half show 2.0.0. Is that how it should look with 2.0 installed ?
Thanks
/Otto Blomqvist
Secom International
This works beatifully with the version that comes with Delphi 8.
PgSqlConnection1:=PgSqlConnection.Create ('User=testing;Database=testing;');
PgSqlConnection1.Open;
But gives the following error message in the New 2.0 version. I'm running mono 1.05 and apache 2.052
Error Message: HTTP 500.
Stack Trace: CoreLab.PostgreSql.PgSqlException: No such host is known
in CoreLab.PostgreSql.l:w ()
in CoreLab.PostgreSql.l:a (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionInternal:d (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionFactory:a (CoreLab.Common.DbConnectionBase)
in CoreLab.Common.DbConnectionClosed:Open (CoreLab.Common.DbConnectionBase)
I tried putting the host name (127.0.0.1 and 'localhost') in the connect string but it does not work. We are seriously considering buying this for our development, but basic things like this NOT working is scaring us.
Any ideas ?
Also, in Delhi half of the components show a version of 1.10.3.0 while the other half show 2.0.0. Is that how it should look with 2.0 installed ?
Thanks
/Otto Blomqvist
Secom International