MyConnection.Server := '';
MyConnection.Port := 0;
MyConnection.Database := database;
MyConnection.Username := username;
MyConnection.Password := password;
MyConnection.Connected := true;
if I use the code above the connection attempt is sucessfull on a localhost. Is this the way it should be?