Connection parameter name is unkown localhost

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Connection parameter name is unkown localhost

Post by moppelstroppel » Wed 27 Jan 2021 12:37

Hello support,

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;
this is working

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection parameter name is unkown localhost

Post by ViktorV » Fri 29 Jan 2021 10:33

Unfortunately, we could not reproduce the issue.
In order for us to be able to give you a detailed answer, please compose a small sample demonstrating the described behavior and send it to us through the contact form https://devart.com/company/contactform.html Also please provide your IDE.

Post Reply