[Lazarus] TSQLConnector for MySQL non-standard port

LacaK lacak at zoznam.sk
Tue Apr 25 07:17:05 CEST 2023

try use "Params" and put there "Port=nnnn"

> Hi,
> I would like to use a non-standard port for my MySQL-connection. Is 
> this possible ? If so, how ?
> Standard port is 3306.
> I tried to add my non-standard port to the hostname 
> (<hostname>:<portnumber>), but that does not work: 'TMySQL57Connection 
> : Server connect failed.'
> Sniffing the network on that port gives nothing, so there is no 
> attempt to connect.
> MySQLWorkbench with the same parameters works OK, so there is a server 
> listening on that port.
> Koenraad.

More information about the lazarus mailing list