Connection without server and port?
Posted: Fri 01 Jul 2005 09:22
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?
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?