I switched to the new version from 10.2.x to the newest version and the behavior of TMyConnection is different.
At design time I add all information to the component.
At runtime I set the Server and Port. If I try to connect I get the error Connection parameter name is unkown localhost.
The server was before localhost and I set the server again to localhost due to user action but the error appears.
If I set all these paramters by code/runtime and delete the connectionstring it is working.
this is not working
Code: Select all
DbMyCratemaker->Server = server;
Code: Select all
DbMyCratemaker->ConnectString = "";
DbMyCratemaker->Server = server;
DbMyCratemaker->Username = "cratemaker";
DbMyCratemaker->Password = "maker";
DbMyCratemaker->Database = "p_cratemaker";
But during login the user has only to select the server an port.
Thanks
Thomas