hello guys...
I used PostGreSQL 8.0.3 and WIn32
I try to connect my first project with Lazarus to PostGreSQL but there is an
error..."EDatabaseError" -> could not translate host name "172.0.0.1" to
address: Unknown host...
Here my simple code
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
PQConnection1.HostName:='127.0.0.1';
PQConnection1.UserName:='superuser';
PQConnection1.Password:='admin';
PQConnection1.Open;
end;
Thanks
---------------------------------
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.